summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorchao bi <chao.bi@intel.com>2012-10-25 09:02:32 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 11:29:58 -0700
commit319fb0d21907f771d8ccdb6177fb2fcafabc6ab4 (patch)
tree9f6293ef3a34c288ad25a9638ec6bc463027d3cb /tools/perf/scripts/python/event_analyzing_sample.py
parentde609582072af195673e72d9e7647d5cba8eb7e4 (diff)
serial: ifx6x60: different SPI word width configure requires different swap process
SPI protocol driver only provide one function (swap_buf()) to swap SPI data into big endian format, which is only available when SPI controller's word width is 16 bits. But word width could be configured as 8/16/32 bits, different word width configure should be mapped to different swap methods.This patch is to make SPI protocol driver choose the right swap function corresponding to SPI word width configuration. cc: liu chuansheng <chuansheng.liu@intel.com> cc: Chen Jun <jun.d.chen@intel.com> Signed-off-by: channing <chao.bi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions