Commit 3cfa5afd authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix GTUNER on w9966

parent 5896e850
...@@ -742,7 +742,7 @@ static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file, ...@@ -742,7 +742,7 @@ static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file,
case VIDIOCGTUNER: case VIDIOCGTUNER:
{ {
struct video_tuner *vtune = arg; struct video_tuner *vtune = arg;
if(vtune->tuner != 0); if(vtune->tuner != 0)
return -EINVAL; return -EINVAL;
strcpy(vtune->name, "no tuner"); strcpy(vtune->name, "no tuner");
vtune->rangelow = 0; vtune->rangelow = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment