Message ID | 79d3fb5596198a47efc2a1c85133d2b4b3fa835e.1308035134.git.hans.verkuil@cisco.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index accd9d4..a5aaf25 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c @@ -1241,7 +1241,7 @@ static int tuner_resume(struct i2c_client *c) tuner_dbg("resume\n"); if (!t->standby) - if (set_mode(t, t->type) == 0) + if (set_mode(t, t->mode) == 0) set_freq(t, 0); return 0;