The patch number 9625 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Mauro Carvalho Chehab  <[EMAIL PROTECTED]>
Fix a small mistake on the previous patch


Priority: normal

Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 linux/drivers/media/video/tvaudio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -r 875b75236ff8 -r 312def568276 linux/drivers/media/video/tvaudio.c
--- a/linux/drivers/media/video/tvaudio.c       Fri Nov 14 11:46:59 2008 -0200
+++ b/linux/drivers/media/video/tvaudio.c       Fri Nov 14 14:38:46 2008 -0200
@@ -1767,12 +1767,12 @@ static int chip_command(struct i2c_clien
                                break;
                        case V4L2_CID_AUDIO_VOLUME:
                        case V4L2_CID_AUDIO_BALANCE:
-                               if ((desc->flags & CHIP_HAS_VOLUME))
+                               if (!(desc->flags & CHIP_HAS_VOLUME))
                                        return -EINVAL;
                                break;
                        case V4L2_CID_AUDIO_BASS:
                        case V4L2_CID_AUDIO_TREBLE:
-                               if ((desc->flags & CHIP_HAS_BASSTREBLE))
+                               if (!(desc->flags & CHIP_HAS_BASSTREBLE))
                                        return -EINVAL;
                                break;
                        default:


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/312def568276fb6aa07ceb34f85716e5ab9925ea

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to