forked from Minki/linux
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>
This commit is contained in:
parent
24b46f9e4b
commit
7183f337fe
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user