diff options
author | Axel Lin <[email protected]> | 2014-03-02 22:48:41 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-03-04 11:19:14 +0800 |
commit | af348519e4a41eac8eae82cf3dcaeb6c1b008113 (patch) | |
tree | 6504aa74755a5791a596676c5bb0caec01c7fb46 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
spi: xcomm: Remove duplicate code to set default bits_per_word and max speed
In the implementation of __spi_validate(), spi core will set transfer
bits_per_word and max speed as spi device default if it is not set for
this transfer. So we can remove the same logic in spi_xcomm_setup_transfer().
Also remove a redundant code to initialize is_first variable.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions