aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorGeorge Spelvin <[email protected]>2014-05-11 06:07:43 -0400
committerJohn W. Linville <[email protected]>2014-05-16 14:26:53 -0400
commite757201b8d66b02ed0ff90e5e9c7b8f3143ebfe7 (patch)
tree23e24586b627d3703460f10351c65dcaae28a9e4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent9b60fa4a876624f9b57db89ac8fc02b5fcc4f42e (diff)
drivers/net/wireless/ti/wl*/spi.c: Simplify CRC computation
These devices require commands stored in buffers in an odd order, different from that in which the CRC is computed. Rather than make two copies of the commands in two different orders, form the commands in logical (CRC) order, append the CRC, then byte-swap in place to the desired order. The old code worked fine, I'm just scratching an "ugh, that's ugly" itch. Signed-off-by: George Spelvin <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions