diff options
-rw-r--r-- | drivers/media/video/tvaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 463680b13289..b59e47272abf 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -1792,7 +1792,7 @@ static int chip_command(struct i2c_client *client, | |||
1792 | break; | 1792 | break; |
1793 | case VIDIOC_S_FREQUENCY: | 1793 | case VIDIOC_S_FREQUENCY: |
1794 | chip->mode = 0; /* automatic */ | 1794 | chip->mode = 0; /* automatic */ |
1795 | if (desc->checkmode) { | 1795 | if (desc->checkmode && desc->setmode) { |
1796 | desc->setmode(chip,V4L2_TUNER_MODE_MONO); | 1796 | desc->setmode(chip,V4L2_TUNER_MODE_MONO); |
1797 | if (chip->prevmode != V4L2_TUNER_MODE_MONO) | 1797 | if (chip->prevmode != V4L2_TUNER_MODE_MONO) |
1798 | chip->prevmode = -1; /* reset previous mode */ | 1798 | chip->prevmode = -1; /* reset previous mode */ |