From 466a09d21bd73b66ea0ab7cd2aa30503d4d8122f Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Mon, 17 Oct 2005 21:47:16 +0000 Subject: * ../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 --- linux/drivers/media/video/wm8775.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'linux/drivers/media') 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 -- cgit v1.2.3