summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-06-13 16:19:07 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-06-19 18:13:05 +0200
commita811e6ec87d910faceda561fae9b0088d70ee831 (patch)
tree6e4b8b1d5aeb056b4d92310b021238da79ac70f2 /drivers
parent[media] si2168: add one missing parenthesis (diff)
downloadlinux-a811e6ec87d910faceda561fae9b0088d70ee831.tar.xz
linux-a811e6ec87d910faceda561fae9b0088d70ee831.zip
[media] si2157: add one missing parenthesis
Fix following warnings: si2157_cmd_execute() warn: add some parenthesis here? si2157_cmd_execute() warn: maybe use && instead of & Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/tuners/si2157.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index 271a752cee54..fa4cc7b880aa 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -57,7 +57,7 @@ static int si2157_cmd_execute(struct si2157 *s, struct si2157_cmd *cmd)
jiffies_to_msecs(jiffies) -
(jiffies_to_msecs(timeout) - TIMEOUT));
- if (!(buf[0] >> 7) & 0x01) {
+ if (!((buf[0] >> 7) & 0x01)) {
ret = -ETIMEDOUT;
goto err_mutex_unlock;
} else {