Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366702
b: refs/heads/master
c: 0c13c54
h: refs/heads/master
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Mar 21, 2013
1 parent a6a7684 commit 7a70fe0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 086991dd106bda1c43a294a874563322e0d777e4
refs/heads/master: 0c13c54d8527df03decf7c522f35886fb721f282
15 changes: 11 additions & 4 deletions trunk/drivers/media/dvb-frontends/af9033.c
Original file line number Diff line number Diff line change
Expand Up @@ -985,10 +985,17 @@ struct dvb_frontend *af9033_attach(const struct af9033_config *config,
"OFDM=%d.%d.%d.%d\n", KBUILD_MODNAME, buf[0], buf[1],
buf[2], buf[3], buf[4], buf[5], buf[6], buf[7]);


/* FIXME: Do not abuse adc_multiplier for detecting IT9135 */
if (state->cfg.adc_multiplier != AF9033_ADC_MULTIPLIER_2X) {
/* sleep */
/* sleep */
switch (state->cfg.tuner) {
case AF9033_TUNER_IT9135_38:
case AF9033_TUNER_IT9135_51:
case AF9033_TUNER_IT9135_52:
case AF9033_TUNER_IT9135_60:
case AF9033_TUNER_IT9135_61:
case AF9033_TUNER_IT9135_62:
/* IT9135 did not like to sleep at that early */
break;
default:
ret = af9033_wr_reg(state, 0x80004c, 1);
if (ret < 0)
goto err;
Expand Down

0 comments on commit 7a70fe0

Please sign in to comment.