summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-14 14:38:46 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-14 14:38:46 -0200
commit60c3a3c2818fb9a088b9f2ea033fbc671fb3abc8 (patch)
tree76458de9088890930429427da52aa13510c3508f
parentcf18adb2c0dfce8e934fbf78c0be1e67a07c242f (diff)
downloadmediapointer-dvb-s2-60c3a3c2818fb9a088b9f2ea033fbc671fb3abc8.tar.gz
mediapointer-dvb-s2-60c3a3c2818fb9a088b9f2ea033fbc671fb3abc8.tar.bz2
Fix a small mistake on the previous patch
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/media/video/tvaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c
index 435af3455..0a86c80a2 100644
--- a/linux/drivers/media/video/tvaudio.c
+++ b/linux/drivers/media/video/tvaudio.c
@@ -1767,12 +1767,12 @@ static int chip_command(struct i2c_client *client,
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: