summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/au8522_priv.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-06-08 13:54:52 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-06-19 13:25:25 -0300
commit38fe3510fa8fb5e75ee3b196e44a7b717d167e5d (patch)
tree6e286339d36809282da7a3a7a266a44688dd97bd /drivers/media/dvb-frontends/au8522_priv.h
parent364693166cf4d49e6b72d1f43d4baeebbadf08fa (diff)
[media] au8522: be sure that the setup will happen at streamon time
The same demod is used on both analog and digital mode. We should not let the commands for analog mode to happen while the device is in digital mode. So, monitor it via streamon. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/au8522_priv.h')
-rw-r--r--drivers/media/dvb-frontends/au8522_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/au8522_priv.h b/drivers/media/dvb-frontends/au8522_priv.h
index aa0f16d6b610..a781489520fb 100644
--- a/drivers/media/dvb-frontends/au8522_priv.h
+++ b/drivers/media/dvb-frontends/au8522_priv.h
@@ -37,6 +37,7 @@
#define AU8522_ANALOG_MODE 0
#define AU8522_DIGITAL_MODE 1
+#define AU8522_SUSPEND_MODE 2
struct au8522_state {
struct i2c_client *c;