summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorCristina Ciocan <cristina.ciocan@intel.com>2014-11-11 16:07:42 +0200
committerBen Hutchings <ben@decadent.org.uk>2014-12-14 16:23:57 +0000
commit07ea3ff92409e8c3ed4ae3f74f02fefb3f6757ca (patch)
tree56d0c6e4b4443aedb8b20544eb2c3d9c0985e41a /tools/perf/util/scripting-engines/trace-event-python.c
parentadfa08f50fa9d50cd6d8d0ddf8a2f68462edcd52 (diff)
iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask
commit ccf54555da9a5e91e454b909ca6a5303c7d6b910 upstream. The direction field is set on 7 bits, thus we need to AND it with 0111 111 mask in order to retrieve it, that is 0x7F, not 0xCF as it is now. Fixes: ade7ef7ba (staging:iio: Differential channel handling) Signed-off-by: Cristina Ciocan <cristina.ciocan@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions