[media] au0828: don't let the IR polling thread to run at suspend 03/25803/1
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 8 Aug 2014 10:35:37 +0000 (07:35 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 02:32:51 +0000 (23:32 -0300)
commit0e08fd4ae2df6eb9f6e5f97788a37d332584a6ab
tree6e1d56bcf1908e9c98863884fbcc68578606924e
parentbf7465e31ffdc13f2d91e4962a049ee3760b3d53
[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.

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