[media] dib8000: In auto-search, try first with partial reception enabled
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 17:15:32 +0000 (14:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Jul 2014 12:56:23 +0000 (09:56 -0300)
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>
drivers/media/dvb-frontends/dib8000.c

index 7fea04762094b5dae013d9f77e93260f676bfdf0..7088940b634e58cb7df95768c0cf91b1f8fc07cb 100644 (file)
@@ -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));