summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-05-11 06:07:43 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-05-16 14:26:53 -0400
commite757201b8d66b02ed0ff90e5e9c7b8f3143ebfe7 (patch)
tree23e24586b627d3703460f10351c65dcaae28a9e4 /tools/perf/scripts/python/Perf-Trace-Util/lib
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 <linux@horizon.com> Reviewed-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions