summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tuner_it913x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/tuner_it913x.c')
-rw-r--r--drivers/media/tuners/tuner_it913x.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/tuners/tuner_it913x.c b/drivers/media/tuners/tuner_it913x.c
index cd20c5b0f07..281d8c5cc0a 100644
--- a/drivers/media/tuners/tuner_it913x.c
+++ b/drivers/media/tuners/tuner_it913x.c
@@ -371,7 +371,11 @@ static int it9137_set_params(struct dvb_frontend *fe)
static int it913x_sleep(struct dvb_frontend *fe)
{
struct it913x_state *state = fe->tuner_priv;
- return it913x_script_loader(state, it9137_tuner_off);
+
+ if (state->chip_ver == 0x01)
+ return it913x_script_loader(state, it9135ax_tuner_off);
+ else
+ return it913x_script_loader(state, it9137_tuner_off);
}
static int it913x_release(struct dvb_frontend *fe)