OSDN Git Service

[media] au0828: don't let the IR polling thread to run at suspend
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 00:47:11 +0000 (21:47 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:07 +0000 (15:25 -0500)
commitaaeac1991b2c3dff46e0aae5e1d7c7f46ac9eddc
tree63a09e16a5413f41632aa660bca4cde332200264
parent92143f6fb0d6655391b1b42f54ab94d3f16c00ac
[media] au0828: don't let the IR polling thread to run at suspend

Trying to make au0828 to suspend can do very bad things, as
the polling Kthread is not handled. We should disable it
during suspend, only re-enabling it at resume.

Still, analog and digital TV won't work, as we don't reinit
the settings at resume, but at least it won't hang.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-core.c