diff options
-rw-r--r-- | drivers/media/radio/dsbr100.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/radio/dsbr100.c b/drivers/media/radio/dsbr100.c index b3a5cb1adf3a..66783fffe4c1 100644 --- a/drivers/media/radio/dsbr100.c +++ b/drivers/media/radio/dsbr100.c | |||
@@ -360,11 +360,15 @@ static int vidioc_s_ctrl(struct file *file, void *priv, | |||
360 | switch (ctrl->id) { | 360 | switch (ctrl->id) { |
361 | case V4L2_CID_AUDIO_MUTE: | 361 | case V4L2_CID_AUDIO_MUTE: |
362 | if (ctrl->value) { | 362 | if (ctrl->value) { |
363 | if (dsbr100_stop(radio)==-1) | 363 | if (dsbr100_stop(radio) == -1) { |
364 | warn("Radio did not respond properly"); | 364 | warn("Radio did not respond properly"); |
365 | return -EBUSY; | ||
366 | } | ||
365 | } else { | 367 | } else { |
366 | if (dsbr100_start(radio)==-1) | 368 | if (dsbr100_start(radio) == -1) { |
367 | warn("Radio did not respond properly"); | 369 | warn("Radio did not respond properly"); |
370 | return -EBUSY; | ||
371 | } | ||
368 | } | 372 | } |
369 | return 0; | 373 | return 0; |
370 | } | 374 | } |