Browse Source

[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>
Mauro Carvalho Chehab 11 năm trước cách đây
mục cha
commit
dde8e11536
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      drivers/media/dvb-frontends/dib8000.c

+ 3 - 0
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));