aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/dvb-frontends/mn88473.h
diff options
context:
space:
mode:
authorBenjamin Larsson <benjamin@southpole.se>2015-01-12 20:23:25 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-03-03 13:07:55 -0300
commit3b786f13164596b2be44379442c34fbf561a78b6 (patch)
treedabab340f791d1ce35e2840443fafeaef88c89a5 /drivers/media/dvb-frontends/mn88473.h
parent[media] media: adv7604: improve usage of gpiod API (diff)
downloadwireguard-linux-3b786f13164596b2be44379442c34fbf561a78b6.tar.xz
wireguard-linux-3b786f13164596b2be44379442c34fbf561a78b6.zip
[media] mn88473: calculate the IF register values
Add xtal as a configuration parameter so it can be used in the IF register value calculation. If not set in the configuration then use a default value. 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/mn88473.h')
-rw-r--r--drivers/media/dvb-frontends/mn88473.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/mn88473.h b/drivers/media/dvb-frontends/mn88473.h
index a373ec93cbe0..c717ebed0e03 100644
--- a/drivers/media/dvb-frontends/mn88473.h
+++ b/drivers/media/dvb-frontends/mn88473.h
@@ -33,6 +33,12 @@ struct mn88473_config {
* DVB frontend.
*/
struct dvb_frontend **fe;
+
+ /*
+ * Xtal frequency.
+ * Hz
+ */
+ u32 xtal;
};
#endif