summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index b3e6f9b23..6b02c4a66 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -985,7 +985,10 @@ static int tda1004x_set_fe(struct dvb_i2c_bus *i2c,
default:
return -EINVAL;
}
- tda1004x_write_mask(i2c, tda_state, TDA1004X_CONFC1, 0x20, 0x20); // hack hack
+
+ // temp hack
+ if (tda_state->fe_type == FE_TYPE_TDA10046H)
+ tda1004x_write_mask(i2c, tda_state, TDA1004X_CONFC1, 0x20, 0x20);
// set guard interval
switch (fe_params->u.ofdm.guard_interval) {