V4L/DVB (6247): Fix bug #8689: Fixes IR stop/start during suspend/resume
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 1 Oct 2007 11:51:39 +0000 (08:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:14:51 +0000 (22:14 -0300)
commit13595a51c0da8ec212ba6f5df79519dbd74166c0
treeb013f7d1714e9f627d8f01bcd2fcf0a5d330ee23
parentb25be97929c85b2017379e05588740f564a61c22
V4L/DVB (6247): Fix bug #8689: Fixes IR stop/start during suspend/resume

IR workqueue should be disabled during suspend. This avoids some troubles, like
the one reported on bug #8689:

"The Hauppauge HVR 1100 ir-remote control does not work after resume from
suspend to ram or disk."

This patch disables IR before suspending, re-enabling it after resume.

Thanks to Peter Poklop <Peter.Poklop@gmx.at> for reporting it and helping with
the fix.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Reviewed-by: Peter Poklop <Peter.Poklop@gmx.at>
drivers/media/video/cx88/cx88-core.c
drivers/media/video/cx88/cx88-input.c
drivers/media/video/cx88/cx88-video.c
drivers/media/video/cx88/cx88.h