[media] media: fix au0828 dvb suspend/resume to call dvb_frontend_suspend/resume
authorShuah Khan <shuah.kh@samsung.com>
Wed, 13 Aug 2014 18:52:39 +0000 (15:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:38 +0000 (15:25 -0500)
commit66cae53024c4b73d40b4e78c557a73e082522aed
treeef5d87e4e74e497357261d65730176ba6bb045f2
parent662c97cf8f9e9d67d45d0a9f0c1565a1ede364c2
[media] media: fix au0828 dvb suspend/resume to call dvb_frontend_suspend/resume

au0828 doesn't resume correctly and TV tuning fails with
xc_set_signal_source(0) failed message. Change au0828 dvb
suspend and resume interfaces to suspend and resume frontend
during suspend and resume respectively. dvb_frontend_suspend()
suspends tuner and fe using tuner and fe ops. dvb_frontend_resume()
resumes fe and tuner using fe and tuner ops ini before waking up
the frontend. With this change HVR950Q suspend and resume work
when system gets suspended when digital function is tuned to a
channel and with active TV stream, and after resume it went right
back to active TV stream.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-dvb.c