]> git.baikalelectronics.ru Git - kernel.git/commit
[media] bttv: fix missing irq after reloading driver
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 3 Apr 2015 11:13:14 +0000 (08:13 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 09:59:54 +0000 (06:59 -0300)
commit1ac7cdc4b3b408c9f68475c4825176b9f04ee403
tree058fb56fafbcf75464b00ac97e6c9e9197558288
parentc16449a3cd4bf57379c5a38e3e3978ffa6148dfd
[media] bttv: fix missing irq after reloading driver

If pci_disable_device() isn't called when the driver is removed, then
the next time when it is loaded the irq isn't found.

I'm pretty sure this used to work in the past, but calling
pci_disable_device() is clearly the correct method and this makes
it work again.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/bt8xx/bttv-driver.c