diff options
author | Antti Palosaari <crope@iki.fi> | 2014-06-13 11:08:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-06-19 13:12:48 -0300 |
commit | eefae30a1b3aabab6085be2ca0e314021253daa2 (patch) | |
tree | ff2a00f78cbae1e4899bfd8645faf5ed78179bac /drivers/media/dvb-frontends | |
parent | 4856fbd12d69965d3ab680c686222db93872728d (diff) | |
download | op-kernel-dev-eefae30a1b3aabab6085be2ca0e314021253daa2.zip op-kernel-dev-eefae30a1b3aabab6085be2ca0e314021253daa2.tar.gz |
[media] si2168: add one missing parenthesis
Fix following warnings:
si2168_cmd_execute() warn: add some parenthesis here?
si2168_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/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/si2168.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 8637d2e..f205736 100644 --- a/drivers/media/dvb-frontends/si2168.c +++ b/drivers/media/dvb-frontends/si2168.c @@ -60,7 +60,7 @@ static int si2168_cmd_execute(struct si2168 *s, struct si2168_cmd *cmd) jiffies_to_msecs(jiffies) - (jiffies_to_msecs(timeout) - TIMEOUT)); - if (!(cmd->args[0] >> 7) & 0x01) { + if (!((cmd->args[0] >> 7) & 0x01)) { ret = -ETIMEDOUT; goto err_mutex_unlock; } |