]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0770df3fb05b44eae8b291c7630f2d23b71cf81f
tree7450ca5b15713a2bcca1e66ca5f66d857d4c50d3
parent0b1218af356f81b26fb5e0705d4b7db14d07bd00
[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