diff options
author | Gao Pan <pandy.gao@nxp.com> | 2016-11-24 19:04:44 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-25 13:04:41 +0000 |
commit | 3ffa1a5dc696f661754bf145813433fda92371b2 (patch) | |
tree | 00dadd3ad3a993a6d3c8fe64377ef5262b289a55 /Makefile | |
parent | a17efbc5ef9468aae32c7799a0ebc329c15cd0dc (diff) |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions