summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ddbridge
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2018-06-23 17:36:13 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-30 22:23:12 +0200
commit3153dfe2914bec728cab9a5c9d7b2ec71d714d9c (patch)
tree51b1d00f54abc23bb9d675994ede940963ee5d25 /drivers/media/pci/ddbridge
parentmedia: ddbridge/mci: add more MCI status codes, improve MCI_SUCCESS macro (diff)
downloadlinux-3153dfe2914bec728cab9a5c9d7b2ec71d714d9c.tar.xz
linux-3153dfe2914bec728cab9a5c9d7b2ec71d714d9c.zip
media: ddbridge/sx8: disable automatic PLS code search
The SX8 cards by default do an automatic search for the PLS code. This is not necessarily wanted as this can eventually be detected wrong, so disable this. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/pci/ddbridge')
-rw-r--r--drivers/media/pci/ddbridge/ddbridge-sx8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/ddbridge/ddbridge-sx8.c b/drivers/media/pci/ddbridge/ddbridge-sx8.c
index 1a12f2105490..c87cefa10762 100644
--- a/drivers/media/pci/ddbridge/ddbridge-sx8.c
+++ b/drivers/media/pci/ddbridge/ddbridge-sx8.c
@@ -292,7 +292,7 @@ unlock:
cmd.dvbs2_search.frequency = p->frequency * 1000;
cmd.dvbs2_search.symbol_rate = p->symbol_rate;
cmd.dvbs2_search.scrambling_sequence_index =
- p->scrambling_sequence_index;
+ p->scrambling_sequence_index | 0x80000000;
cmd.dvbs2_search.input_stream_id =
(p->stream_id != NO_STREAM_ID_FILTER) ? p->stream_id : 0;
cmd.tuner = state->mci.tuner;