]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ds3000: using logical && instead of bitwise &
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Jan 2012 06:28:51 +0000 (03:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 18 Jan 2012 01:05:13 +0000 (23:05 -0200)
commit81f6199f7f35bbe45e4874b1901fd6dedc8d78ad
tree4344de717455d265fdece584c5d3c378f892930e
parente12a88619d9c7113715d97d4f7bd569c4df33a6f
[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>
drivers/media/dvb/frontends/ds3000.c