|
@@ -60,7 +60,7 @@ static int si2168_cmd_execute(struct si2168 *s, struct si2168_cmd *cmd)
|
|
jiffies_to_msecs(jiffies) -
|
|
jiffies_to_msecs(jiffies) -
|
|
(jiffies_to_msecs(timeout) - TIMEOUT));
|
|
(jiffies_to_msecs(timeout) - TIMEOUT));
|
|
|
|
|
|
- if (!(cmd->args[0] >> 7) & 0x01) {
|
|
|
|
|
|
+ if (!((cmd->args[0] >> 7) & 0x01)) {
|
|
ret = -ETIMEDOUT;
|
|
ret = -ETIMEDOUT;
|
|
goto err_mutex_unlock;
|
|
goto err_mutex_unlock;
|
|
}
|
|
}
|