summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-05-14 05:39:17 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-20 13:45:15 -0300
commite4d131d392073e498d23bb0e52198258c3637116 (patch)
tree3abf46330988301b1359967e640dd14450a94127 /tools/perf/scripts/python
parent85756a069c55e0315ac5990806899cfb607b987f (diff)
[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions