diff options
author | Olli Salonen <olli.salonen@iki.fi> | 2015-02-22 00:45:26 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 17:16:09 +0300 |
commit | 3f845f3c4cf4212bb4cbc8c06344d095cbb16bdd (patch) | |
tree | 51fc3bfef004e5682cf43a9b52f16a2c8bf443f1 /drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c | |
parent | f35593fdc8851aa28f6949bd48fe90653d383017 (diff) | |
download | linux-3f845f3c4cf4212bb4cbc8c06344d095cbb16bdd.tar.xz |
[media] saa7164: free_irq before pci_disable_device
Free the IRQ before disabling the device. Otherwise errors like this when unloading the module:
[21135.458560] ------------[ cut here ]------------
[21135.458569] WARNING: CPU: 4 PID: 1696 at /home/apw/COD/linux/fs/proc/generic.c:521 remove_proc_entry+0x1a1/0x1b0()
[21135.458572] remove_proc_entry: removing non-empty directory 'irq/47', leaking at least 'saa7164[0]'
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Reviewed-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c')
0 files changed, 0 insertions, 0 deletions