[media] media: dvb-core add new flag exit flag value for resume
authorShuah Khan <shuah.kh@samsung.com>
Thu, 24 Jul 2014 16:02:14 +0000 (13:02 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 14:20:10 +0000 (11:20 -0300)
commit87cd0fa8114df9fa4ac6535d16b6e3b37ebb6230
tree7450ca5b15713a2bcca1e66ca5f66d857d4c50d3
parent5b22b1a4f78d7ba29528fdc70b0c699112cff16e
[media] media: dvb-core add new flag exit flag value for resume

Some fe drivers will have to do additional initialization
in their fe ops.init interfaces when called during resume.
Without the additional initialization, fe and tuner driver
resume fails. A new fe exit flag value DVB_FE_DEVICE_RESUME
is necessary to detect resume case. This patch adds a new
define and changes dvb_frontend_resume() to set it prior to
calling fe init and tuner init calls and resets it back to
DVB_FE_NO_EXIT once fe and tuner init is done.

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