upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:59 +0000 (11:59 +0900)
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>
Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=dde8e115365c
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c

index 7fea047..7088940 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));