summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core/dvb_frontend.h
diff options
context:
space:
mode:
authorShuah Khan2014-07-24 18:02:14 +0200
committerMauro Carvalho Chehab2014-07-26 16:20:10 +0200
commit87cd0fa8114df9fa4ac6535d16b6e3b37ebb6230 (patch)
tree7450ca5b15713a2bcca1e66ca5f66d857d4c50d3 /drivers/media/dvb-core/dvb_frontend.h
parent[media] media: drx39xyj driver change to check fe exit flag from release (diff)
downloadkernel-qcow2-linux-87cd0fa8114df9fa4ac6535d16b6e3b37ebb6230.tar.gz
kernel-qcow2-linux-87cd0fa8114df9fa4ac6535d16b6e3b37ebb6230.tar.xz
kernel-qcow2-linux-87cd0fa8114df9fa4ac6535d16b6e3b37ebb6230.zip
[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>
Diffstat (limited to 'drivers/media/dvb-core/dvb_frontend.h')
-rw-r--r--drivers/media/dvb-core/dvb_frontend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/dvb_frontend.h b/drivers/media/dvb-core/dvb_frontend.h
index 625a3401cd41..d398de4b6ef4 100644
--- a/drivers/media/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb-core/dvb_frontend.h
@@ -408,6 +408,7 @@ struct dtv_frontend_properties {
#define DVB_FE_NO_EXIT 0
#define DVB_FE_NORMAL_EXIT 1
#define DVB_FE_DEVICE_REMOVED 2
+#define DVB_FE_DEVICE_RESUME 3
struct dvb_frontend {
struct dvb_frontend_ops ops;