aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/it913x.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-08-27 03:59:27 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 18:24:32 -0300
commit676c350f97366f648dbe7f7f8202a695d946f764 (patch)
tree7c6a245865b7b9451432db6510a062a3eb0532c7 /drivers/media/tuners/it913x.h
parent[media] it913x: convert to RegMap API (diff)
downloadlinux-dev-676c350f97366f648dbe7f7f8202a695d946f764.tar.xz
linux-dev-676c350f97366f648dbe7f7f8202a695d946f764.zip
[media] it913x: re-implement sleep
Re-implement sleep. Based USB sniffs taken from the latest Hauppauge windows driver version 07/10/2014, 14.6.23.32191. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/it913x.h')
-rw-r--r--drivers/media/tuners/it913x.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/media/tuners/it913x.h b/drivers/media/tuners/it913x.h
index 9789c4d2a6ea..33de53d4a566 100644
--- a/drivers/media/tuners/it913x.h
+++ b/drivers/media/tuners/it913x.h
@@ -40,7 +40,15 @@ struct it913x_config {
* 1 = IT9135 AX
* 2 = IT9135 BX
*/
- u8 chip_ver:2;
+ unsigned int chip_ver:2;
+
+ /*
+ * tuner role
+ */
+#define IT913X_ROLE_SINGLE 0
+#define IT913X_ROLE_DUAL_MASTER 1
+#define IT913X_ROLE_DUAL_SLAVE 2
+ unsigned int role:2;
};
#endif