diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-05-14 05:39:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-20 13:45:15 -0300 |
commit | e4d131d392073e498d23bb0e52198258c3637116 (patch) | |
tree | 3abf46330988301b1359967e640dd14450a94127 /drivers/media/tuners | |
parent | [media] cobalt: add new driver (diff) | |
download | wireguard-linux-e4d131d392073e498d23bb0e52198258c3637116.tar.xz wireguard-linux-e4d131d392073e498d23bb0e52198258c3637116.zip |
[media] rtl2832_sdr: cleanup some set_bit() calls
This code works fine but static checkers complain. The test_bit()
function takes the bit number and not a mask. Then the other issue is
that we were using USB_STATE_URB_BUF which is BIT(0) instead of URB_BUF.
Also we were open coding that instead of using the test/clear/set_bit()
functions.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners')
0 files changed, 0 insertions, 0 deletions