diff options
author | Samuel Iglesias Gonsálvez <siglesias@igalia.com> | 2012-09-11 13:35:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-11 12:18:11 -0700 |
commit | 690949e7faaed39300cc618c10a56dec3d1180c3 (patch) | |
tree | 8e92d4878fe8fa03bf120e81bf4151ed9b5d8f61 | |
parent | ca8481c23cc841aeded46a1ad6964c93e8167dd0 (diff) |
Staging: ipack/devices/ipoctal: free the IRQ.
As the IRQ was requested by the driver, it should free it also.
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/ipack/devices/ipoctal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/ipack/devices/ipoctal.c b/drivers/staging/ipack/devices/ipoctal.c index 272832f7c80e..35513d9e013a 100644 --- a/drivers/staging/ipack/devices/ipoctal.c +++ b/drivers/staging/ipack/devices/ipoctal.c @@ -803,6 +803,8 @@ static void __ipoctal_remove(struct ipoctal *ipoctal) { int i; + ipoctal->dev->bus->ops->free_irq(ipoctal->dev); + for (i = 0; i < NR_CHANNELS; i++) { tty_unregister_device(ipoctal->tty_drv, i); tty_port_free_xmit_buf(&ipoctal->tty_port[i]); |