diff options
author | Samuel Iglesias Gonsálvez <siglesias@igalia.com> | 2012-07-04 14:11:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-06 23:21:54 (GMT) |
commit | 7183f337fef677165d3dbd09a42ee9578c94f890 (patch) | |
tree | 54e6d2400b56bcd6a0117710c269ecae4dc71161 /drivers/staging/ipack | |
parent | 24b46f9e4b3e0aa33e5fada23284e14a15dfa487 (diff) | |
download | linux-fsl-qoriq-7183f337fef677165d3dbd09a42ee9578c94f890.tar.xz |
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 <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ipack')
-rw-r--r-- | drivers/staging/ipack/devices/ipoctal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/ipack/devices/ipoctal.c b/drivers/staging/ipack/devices/ipoctal.c index ec7b2f9..a5af423 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 */ |