summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-04 21:15:32 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-07 16:56:23 +0400
commitdde8e115365c32bc8074aaa3ca492db1eaa913be (patch)
tree30f9263ce9bdea5c52041077247a7e54c80644bc /drivers/media
parent08623517f4fd6164c61a0c0d73c82e8e136a8b17 (diff)
downloadlinux-dde8e115365c32bc8074aaa3ca492db1eaa913be.tar.xz
[media] dib8000: In auto-search, try first with partial reception enabled
TV broadcasters generally use partial reception. So, enable it by default in auto-search mode. The driver will latter detect if the transmission is on some other mode. Acked-By: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-frontends/dib8000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c
index 7fea04762094..7088940b634e 100644
--- a/drivers/media/dvb-frontends/dib8000.c
+++ b/drivers/media/dvb-frontends/dib8000.c
@@ -2351,6 +2351,9 @@ static void dib8000_set_isdbt_common_channel(struct dib8000_state *state, u8 seq
int init_prbs;
struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache;
+ if (autosearching)
+ c->isdbt_partial_reception = 1;
+
/* P_mode */
dib8000_write_word(state, 10, (seq << 4));