diff options
author | Antti Palosaari <crope@iki.fi> | 2014-06-13 16:19:07 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-06-19 18:13:05 +0200 |
commit | a811e6ec87d910faceda561fae9b0088d70ee831 (patch) | |
tree | 6e4b8b1d5aeb056b4d92310b021238da79ac70f2 /drivers | |
parent | [media] si2168: add one missing parenthesis (diff) | |
download | linux-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.c | 2 |
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 { |