diff options
author | 2016-11-24 19:04:44 +0800 | |
---|---|---|
committer | 2016-11-25 13:04:41 +0000 | |
commit | 3ffa1a5dc696f661754bf145813433fda92371b2 (patch) | |
tree | 00dadd3ad3a993a6d3c8fe64377ef5262b289a55 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | spi: imx: add devicetree binding for lpspi (diff) | |
download | wireguard-linux-3ffa1a5dc696f661754bf145813433fda92371b2.tar.xz wireguard-linux-3ffa1a5dc696f661754bf145813433fda92371b2.zip |
spi: imx: use prepare_transfer_hardware() for lpspi
The old driver enable clk in fsl_lpspi_prepare_message() and
disable clk in fsl_lpspi_unprepare_message().
Rather than doing this per message it's a bit better to do it
in prepare_transfer_hardware(), that way if there's a sequence
of messages queued one after another we don't turn the clock on
and off all the time.
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions