]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx231xx-input: stop polling if the device got removed.
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Jan 2012 00:28:13 +0000 (22:28 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:35:28 +0000 (22:35 -0200)
commit8319b908794003bb6bfb00df87022a16cc5b2981
treeed1dec61c0283b4ef0beae71dbbebbf11bf57b4c
parent1ce43134ac49b1139f2747804fc0baccd97b0cef
[media] cx231xx-input: stop polling if the device got removed.

If the device got removed, stops polling it. Also, un-registers
it at input/evdev, as it won't work anymore. We can't free the
IR structure yet, as the ir_remove method will be called later.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-input.c
drivers/media/video/ir-kbd-i2c.c