diff options
-rw-r--r-- | drivers/media/dvb-frontends/af9033.c | 10 | ||||
-rw-r--r-- | drivers/media/dvb-frontends/af9033.h | 5 |
2 files changed, 7 insertions, 8 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c index 5c90ea683a7e..2a4dfd2f9679 100644 --- a/drivers/media/dvb-frontends/af9033.c +++ b/drivers/media/dvb-frontends/af9033.c @@ -314,14 +314,8 @@ static int af9033_init(struct dvb_frontend *fe) goto err; } - /* feed clock to RF tuner */ - 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: + /* clock output */ + if (state->cfg.dyn0_clk) { ret = af9033_wr_reg(state, 0x80fba8, 0x00); if (ret < 0) goto err; diff --git a/drivers/media/dvb-frontends/af9033.h b/drivers/media/dvb-frontends/af9033.h index 539f4db678b8..b95a6d438eca 100644 --- a/drivers/media/dvb-frontends/af9033.h +++ b/drivers/media/dvb-frontends/af9033.h @@ -75,6 +75,11 @@ struct af9033_config { * input spectrum inversion */ bool spec_inv; + + /* + * + */ + bool dyn0_clk; }; |