]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] tda7432: Fix setting TDA7432_MUTE bit for TDA7432_RF register
authorAxel Lin <axel.lin@ingics.com>
Fri, 8 Aug 2014 13:32:56 +0000 (10:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:36 +0000 (15:25 -0500)
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>
drivers/media/i2c/tda7432.c

index 72af644fa05127f89548b9782cee62367823d445..cf93021a650092d8dee0710c592ba6b00611769a 100644 (file)
@@ -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*/