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.

Signed-off-by: Mauro Carvalho Chehab <m.che...@samsung.com>
---
 drivers/media/dvb-frontends/dib8000.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/media/dvb-frontends/dib8000.c 
b/drivers/media/dvb-frontends/dib8000.c
index 5943495068a6..c81808d9b4d5 100644
--- a/drivers/media/dvb-frontends/dib8000.c
+++ b/drivers/media/dvb-frontends/dib8000.c
@@ -2352,6 +2352,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));
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to