From: Mauro Carvalho Chehab Date: Fri, 4 Jul 2014 17:15:32 +0000 (-0300) Subject: [media] dib8000: In auto-search, try first with partial reception enabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dde8e115365c32bc8074aaa3ca492db1eaa913be;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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));