From: Samuel Iglesias Gonsálvez Date: Wed, 4 Jul 2012 14:11:10 +0000 (+0200) Subject: Staging: ipack/devices/ipoctal: save IRQ vector in MEM space X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7183f337fef677165d3dbd09a42ee9578c94f890;p=deliverable%2Flinux.git Staging: ipack/devices/ipoctal: save IRQ vector in MEM space The IRQ vector should be saved in MEM space base address according to the datasheet. Signed-off-by: Samuel Iglesias Gonsálvez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ipack/devices/ipoctal.c b/drivers/staging/ipack/devices/ipoctal.c index ec7b2f9c89ad..a5af423a4e7c 100644 --- a/drivers/staging/ipack/devices/ipoctal.c +++ b/drivers/staging/ipack/devices/ipoctal.c @@ -435,7 +435,8 @@ static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, */ ipoctal->dev->bus->ops->request_irq(ipoctal->dev, vector, ipoctal_irq_handler, ipoctal); - ipoctal->dev->bus->ops->write8(ipoctal->dev, IPACK_ID_SPACE, 0, vector); + ipoctal->dev->bus->ops->write8(ipoctal->dev, IPACK_MEM_SPACE, 0, + vector); /* Register the TTY device */