Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117047
b: refs/heads/master
c: b9f3573
h: refs/heads/master
i:
  117045: da9aa6b
  117043: 4676dc0
  117039: b049053
v: v3
  • Loading branch information
Alexey Klimov authored and Mauro Carvalho Chehab committed Oct 21, 2008
1 parent 05f5282 commit a423cf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 0fabb78332aee7d5dd4a0a31228b9266de71182f
refs/heads/master: b9f3573731e63116712eb5ea28bd6ded09232afa
8 changes: 7 additions & 1 deletion trunk/drivers/media/radio/dsbr100.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ static int vidioc_s_audio(struct file *file, void *priv,
static int usb_dsbr100_open(struct inode *inode, struct file *file)
{
struct dsbr100_device *radio = video_drvdata(file);
int retval;

lock_kernel();
radio->users = 1;
Expand All @@ -423,7 +424,12 @@ static int usb_dsbr100_open(struct inode *inode, struct file *file)
unlock_kernel();
return -EIO;
}
dsbr100_setfreq(radio, radio->curfreq);

retval = dsbr100_setfreq(radio, radio->curfreq);

if (retval == -1)
printk(KERN_WARNING KBUILD_MODNAME ": Set frequency failed\n");

unlock_kernel();
return 0;
}
Expand Down

0 comments on commit a423cf0

Please sign in to comment.