Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114078
b: refs/heads/master
c: 90b698d
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Klimov authored and Mauro Carvalho Chehab committed Oct 13, 2008
1 parent 0b22748 commit f835023
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adeeac3b7989ad9f03651e9224c9c63e221d4310
refs/heads/master: 90b698dd47f3929f20746f828e2cd648bc6539dd
8 changes: 6 additions & 2 deletions trunk/drivers/media/radio/dsbr100.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,15 @@ static int vidioc_s_ctrl(struct file *file, void *priv,
switch (ctrl->id) {
case V4L2_CID_AUDIO_MUTE:
if (ctrl->value) {
if (dsbr100_stop(radio)==-1)
if (dsbr100_stop(radio) == -1) {
warn("Radio did not respond properly");
return -EBUSY;
}
} else {
if (dsbr100_start(radio)==-1)
if (dsbr100_start(radio) == -1) {
warn("Radio did not respond properly");
return -EBUSY;
}
}
return 0;
}
Expand Down

0 comments on commit f835023

Please sign in to comment.