summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/wm8775.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-16 17:12:04 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-16 17:12:04 -0800
commit5c5bccb76cb94888f40ebd5584b81646632e9c3f (patch)
treeee949fa6cc1dbe2632154b38ef6dd28f6185d218 /drivers/media/i2c/wm8775.c
parent24b3aa09970304ece816e73c3d7174d0dd315b98 (diff)
parent319e2e3f63c348a9b66db4667efa73178e18b17d (diff)
Merge 3.13-rc4 into staging-next.
We want the fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/i2c/wm8775.c')
-rw-r--r--drivers/media/i2c/wm8775.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/i2c/wm8775.c b/drivers/media/i2c/wm8775.c
index 3f584a7d0781..bee7946faa7c 100644
--- a/drivers/media/i2c/wm8775.c
+++ b/drivers/media/i2c/wm8775.c
@@ -130,12 +130,10 @@ static int wm8775_s_routing(struct v4l2_subdev *sd,
return -EINVAL;
}
state->input = input;
- if (!v4l2_ctrl_g_ctrl(state->mute))
+ if (v4l2_ctrl_g_ctrl(state->mute))
return 0;
if (!v4l2_ctrl_g_ctrl(state->vol))
return 0;
- if (!v4l2_ctrl_g_ctrl(state->bal))
- return 0;
wm8775_set_audio(sd, 1);
return 0;
}