summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <devnull@localhost>2005-10-17 21:47:16 +0000
committerNickolay V. Shmyrev <devnull@localhost>2005-10-17 21:47:16 +0000
commit466a09d21bd73b66ea0ab7cd2aa30503d4d8122f (patch)
treeeb956c94a3c7ba9a47b13f2cb207abf6d6ed97d2 /linux/drivers
parent6571d469892fabdf7854dc0e6780900640263c7a (diff)
downloadmediapointer-dvb-s2-466a09d21bd73b66ea0ab7cd2aa30503d4d8122f.tar.gz
mediapointer-dvb-s2-466a09d21bd73b66ea0ab7cd2aa30503d4d8122f.tar.bz2
* ../linux/drivers/media/video/wm8775.c: (wm8775_command):
- VIDIOC_LOG_STATUS is added to videodev2.h this can be enabled again in wm8775.c. Also use the v4l2 VIDIOC_S_FREQUENCY instead of VIDIOCSFREQ. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/wm8775.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/wm8775.c b/linux/drivers/media/video/wm8775.c
index 2a69d8e85..3813c01e0 100644
--- a/linux/drivers/media/video/wm8775.c
+++ b/linux/drivers/media/video/wm8775.c
@@ -117,15 +117,13 @@ static int wm8775_command(struct i2c_client *client, unsigned int cmd,
state->muted = 0;
break;
-#if 0
case VIDIOC_LOG_STATUS:
wm8775_info("Input: %s%s\n",
state->input == 8 ? "radio" : "default",
state->muted ? " (muted)" : "");
break;
-#endif
- case VIDIOCSFREQ:
+ case VIDIOC_S_FREQUENCY:
/* If I remove this, then it can happen that I have no
sound the first time I tune from static to a valid channel.
It's difficult to reproduce and is almost certainly related