summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/ts2020.h
diff options
context:
space:
mode:
authorJohn Horan <knasher@gmail.com>2013-08-28 09:37:37 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-02 06:48:14 -0300
commit03a6727995df6dbef6e0054761e75ecc68b3a6d2 (patch)
treee50e81ea9c022355bcb2429930f2638949bfeab6 /drivers/media/dvb-frontends/ts2020.h
parentd7f74c0310c3245052d4b8f6b92d8fc628785e76 (diff)
[media] media: dvb-frontends: ts2020: Added in a option for frequency divider value for s600 devices
When the tuner part of the ds3000 driver was split to share code with the m88rs2000 driver, the ts2020 driver used the frequency divider value from the m88rs2000 driver. However the ds3000 driver requires a different value, and this resulted in some frequecies being invisible to the tuner. This patch adds back in the value needed for the ds3000 driver and configured as an option in the dw2102 frontend driver. It may also apply to su3000 devices, which use the same ds3000 driver, but for now it is only applied to the s660 device. Signed-off-by: John Horan <knasher@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/ts2020.h')
-rw-r--r--drivers/media/dvb-frontends/ts2020.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/ts2020.h b/drivers/media/dvb-frontends/ts2020.h
index 5bcb9a71ca80..b2fe6bb3a38b 100644
--- a/drivers/media/dvb-frontends/ts2020.h
+++ b/drivers/media/dvb-frontends/ts2020.h
@@ -28,6 +28,7 @@
struct ts2020_config {
u8 tuner_address;
u8 clk_out_div;
+ u32 frequency_div;
};
#if IS_ENABLED(CONFIG_DVB_TS2020)