summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/mn88472.h
diff options
context:
space:
mode:
authorBenjamin Larsson <benjamin@southpole.se>2014-11-26 18:51:46 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-23 14:46:02 -0200
commitd2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13 (patch)
tree232483ecd6fadee705c47b19222b29fff811049c /drivers/media/dvb-frontends/mn88472.h
parent417d2e507edcb5cf15eb344f86bd3dd28737f24e (diff)
downloadop-kernel-dev-d2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13.zip
op-kernel-dev-d2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13.tar.gz
[media] mn88472: calculate the IF register values
Add xtal as a configuration parameter so it can be used in the IF register value calculation. Signed-off-by: Benjamin Larsson <benjamin@southpole.se> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/mn88472.h')
-rw-r--r--drivers/media/dvb-frontends/mn88472.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/mn88472.h b/drivers/media/dvb-frontends/mn88472.h
index da4558b..e4e0b80 100644
--- a/drivers/media/dvb-frontends/mn88472.h
+++ b/drivers/media/dvb-frontends/mn88472.h
@@ -33,6 +33,12 @@ struct mn88472_config {
* DVB frontend.
*/
struct dvb_frontend **fe;
+
+ /*
+ * Xtal frequency.
+ * Hz
+ */
+ u32 xtal;
};
#endif
OpenPOWER on IntegriCloud