summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-08 10:32:56 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-14 08:47:56 -0800
commit6033d64297fac0c26284fe9b7ca8751906dcf277 (patch)
treefd54f877f452ec1d398d6befa98d0c1d0224cfc6
parentf879c8cce0b17a7939a96bb6d0967cc5aafc8dee (diff)
downloadlinux-3.10-6033d64297fac0c26284fe9b7ca8751906dcf277.tar.gz
linux-3.10-6033d64297fac0c26284fe9b7ca8751906dcf277.tar.bz2
linux-3.10-6033d64297fac0c26284fe9b7ca8751906dcf277.zip
media: tda7432: Fix setting TDA7432_MUTE bit for TDA7432_RF register
commit 91ba0e59babdb3c7aca836a65f1095b3eaff7b06 upstream. Fix a copy-paste bug when converting to the control framework. Fixes: commit 5d478e0de871 ("[media] tda7432: convert to the control framework") Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/media/i2c/tda7432.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/tda7432.c b/drivers/media/i2c/tda7432.c
index 28b5121881f..09f4387dbc4 100644
--- a/drivers/media/i2c/tda7432.c
+++ b/drivers/media/i2c/tda7432.c
@@ -293,7 +293,7 @@ static int tda7432_s_ctrl(struct v4l2_ctrl *ctrl)
if (t->mute->val) {
lf |= TDA7432_MUTE;
lr |= TDA7432_MUTE;
- lf |= TDA7432_MUTE;
+ rf |= TDA7432_MUTE;
rr |= TDA7432_MUTE;
}
/* Mute & update balance*/