[media] cx231xx-input: stop polling if the device got removed.
commit90bf3aab42937f760e5b645ab63df46d26b5e620
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Jan 2012 00:28:13 +0000 (9 22:28 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:35:28 +0000 (10 22:35 -0200)
treeed1dec61c0283b4ef0beae71dbbebbf11bf57b4c
parentc53a8e951b9cb5689a510ef31c85fb9b1ff78f11
[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