aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-01-28 10:19:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-06 09:05:30 -0200
commitfb1e7b053a41807b613247535f269108f3b4fc70 (patch)
tree3df56418710ce7ebe6df48fbf6a7fab74de9d68d /drivers/staging/media
parent[media] staging/media/go7007: Use kmemdup rather than duplicating its implementation (diff)
downloadlinux-dev-fb1e7b053a41807b613247535f269108f3b4fc70.tar.xz
linux-dev-fb1e7b053a41807b613247535f269108f3b4fc70.zip
[media] staging: go7007: fix test for V4L2_STD_SECAM
The current test doesn't make a lot of sense. It's likely to be true, which is what we would want in most cases. From looking at how this is handled in other drivers, I think "&" was intended instead of "*". It's an easy mistake to make because they are next to each other on the keyboard. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/go7007/wis-saa7113.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/go7007/wis-saa7113.c b/drivers/staging/media/go7007/wis-saa7113.c
index 8810c1e6e1ed..891cde713a47 100644
--- a/drivers/staging/media/go7007/wis-saa7113.c
+++ b/drivers/staging/media/go7007/wis-saa7113.c
@@ -141,7 +141,7 @@ static int wis_saa7113_command(struct i2c_client *client,
} else if (dec->norm & V4L2_STD_PAL) {
write_reg(client, 0x0e, 0x01);
write_reg(client, 0x10, 0x48);
- } else if (dec->norm * V4L2_STD_SECAM) {
+ } else if (dec->norm & V4L2_STD_SECAM) {
write_reg(client, 0x0e, 0x50);
write_reg(client, 0x10, 0x48);
}