aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/e4000_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-02-07 02:55:57 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-14 05:25:36 -0300
commitecfb7ca3c8c48e90f2918a72e8ed7a2f989f2635 (patch)
tree804a6f66addc8d3a921e4bc90cd12225acb2b685 /drivers/media/tuners/e4000_priv.h
parent[media] e4000: fix PLL calc to allow higher frequencies (diff)
downloadlinux-dev-ecfb7ca3c8c48e90f2918a72e8ed7a2f989f2635.tar.xz
linux-dev-ecfb7ca3c8c48e90f2918a72e8ed7a2f989f2635.zip
[media] e4000: implement PLL lock v4l control
Implement PLL lock control to get PLL lock flag status from tuner synthesizer. Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/e4000_priv.h')
-rw-r--r--drivers/media/tuners/e4000_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/tuners/e4000_priv.h b/drivers/media/tuners/e4000_priv.h
index e2ad54f52280..3ddd9802ff3c 100644
--- a/drivers/media/tuners/e4000_priv.h
+++ b/drivers/media/tuners/e4000_priv.h
@@ -30,6 +30,7 @@ struct e4000_priv {
u32 clock;
struct dvb_frontend *fe;
struct v4l2_subdev sd;
+ bool active;
/* Controls */
struct v4l2_ctrl_handler hdl;
@@ -41,6 +42,7 @@ struct e4000_priv {
struct v4l2_ctrl *mixer_gain;
struct v4l2_ctrl *if_gain_auto;
struct v4l2_ctrl *if_gain;
+ struct v4l2_ctrl *pll_lock;
};
struct e4000_pll {