]> 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)
commit0484a696ea997e596490a1261687d9287099ee62
tree7450ca5b15713a2bcca1e66ca5f66d857d4c50d3
parent92c58437f29ac36f214f97e3bc026049dfbb8449
[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