X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=drivers%2Fmedia%2Ftuners%2Fsi2157.c;h=fa4cc7b880aa4774f4fdf6d7c6cf3ddbb010dbd8;hb=7442cf9ac2de31b33311209476cd81398d3863cf;hp=271a752cee5415a825fed6af3e2e125d1ebf343a;hpb=6ea4fa70e4af0da8b133b246458fb789d8cb3985;p=deliverable%2Flinux.git 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 {