summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/saa711x_regs.h
diff options
context:
space:
mode:
authorJon Arne Jørgensen <jonarne@jonarne.no>2013-08-03 14:19:35 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-18 13:25:27 +0200
commit8b77dfdd8c5838939251cf135ea8363dff108e28 (patch)
tree4b6994f7230732d5dbefb5d8260232af9a6a513b /drivers/media/i2c/saa711x_regs.h
parent[media] ths8200/ad9389b: use new dv_timings helpers (diff)
downloadlinux-8b77dfdd8c5838939251cf135ea8363dff108e28.tar.xz
linux-8b77dfdd8c5838939251cf135ea8363dff108e28.zip
[media] saa7115: Fix saa711x_set_v4lstd for gm7113c
saa711x_set_v4lstd would toggle several bits that should not be touched when changing std. This patch fixes this. Signed-off-by: Jon Arne Jørgensen <jonarne@jonarne.no> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/saa711x_regs.h')
-rw-r--r--drivers/media/i2c/saa711x_regs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/i2c/saa711x_regs.h b/drivers/media/i2c/saa711x_regs.h
index 4e5f2eb0a2c1..70c56d19ea06 100644
--- a/drivers/media/i2c/saa711x_regs.h
+++ b/drivers/media/i2c/saa711x_regs.h
@@ -201,6 +201,10 @@
#define R_FB_PULSE_C_POS_MSB 0xfb
#define R_FF_S_PLL_MAX_PHASE_ERR_THRESH_NUM_LINES 0xff
+/* SAA7113 bit-masks */
+#define SAA7113_R_08_FSEL 0x40
+#define SAA7113_R_08_AUFD 0x80
+
#if 0
/* Those structs will be used in the future for debug purposes */
struct saa711x_reg_descr {