summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0910.h
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2018-05-09 22:08:02 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-28 23:46:04 +0200
commit7069018ec3afd532ad2043d58ee87821a03d8df4 (patch)
tree3d35df9f1b693d06b896bd26b93b3d9091688923 /drivers/media/dvb-frontends/stv0910.h
parentmedia: ddbridge/mci: add identifiers to function definition arguments (diff)
downloadlinux-7069018ec3afd532ad2043d58ee87821a03d8df4.tar.xz
linux-7069018ec3afd532ad2043d58ee87821a03d8df4.zip
media: dvb-frontends/stv0910: make TS speed configurable
Add a tsspeed config option to struct stv0910_cfg which can be used by users of the driver to set the (parallel) TS speed (higher speeds enable support for higher bitrate transponders). If tsspeed isn't set in the config, it'll default to a sane value. This commit also updates the two consumers of the stv0910 driver (ngene and ddbridge) to have a default tsspeed in their stv0910_cfg templates. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Tested-by: Richard Scobie <rascobie@slingshot.co.nz> Tested-by: Helmut Auer <post@helmutauer.de> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/stv0910.h')
-rw-r--r--drivers/media/dvb-frontends/stv0910.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/stv0910.h b/drivers/media/dvb-frontends/stv0910.h
index fccd8d9b665f..f37171b7a2de 100644
--- a/drivers/media/dvb-frontends/stv0910.h
+++ b/drivers/media/dvb-frontends/stv0910.h
@@ -10,6 +10,7 @@ struct stv0910_cfg {
u8 parallel;
u8 rptlvl;
u8 single;
+ u8 tsspeed;
};
#if IS_REACHABLE(CONFIG_DVB_STV0910)