mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[media] ds3000: using logical && instead of bitwise &
The intent here was to test if the FE_HAS_LOCK was set. The current test is equivalent to "if (status) { ..." Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f08aacf84f
commit
3a9888f913
1 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,7 @@ static int ds3000_set_frontend(struct dvb_frontend *fe)
|
|||
|
||||
for (i = 0; i < 30 ; i++) {
|
||||
ds3000_read_status(fe, &status);
|
||||
if (status && FE_HAS_LOCK)
|
||||
if (status & FE_HAS_LOCK)
|
||||
break;
|
||||
|
||||
msleep(10);
|
||||
|
|
Loading…
Reference in a new issue