summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2017-08-09 08:51:27 +1200
committerMark Brown <broonie@kernel.org>2017-08-09 17:52:57 +0100
commit16779622be1c8959d6a665e2b6886bb33885fcb1 (patch)
tree7be1f51f47534c97d3d9f15daa2a3c918bdcc836 /drivers/hv
parent8447e4781f033f56cb18c2ec0301ea5d207877fc (diff)
downloadlinux-16779622be1c8959d6a665e2b6886bb33885fcb1.tar.bz2
spi: spi-ep93xx: add spi master prepare_transfer_hardware()
This driver currently enables the hardware at the start of every message and disabled it when the message is complete. Make it a bit smarter by adding the prepare_transfer_hardware() and unprepare_transfer_hardware() callbacks so that the core can enable/disable the hardware based on spi message queue. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> [chris: use u32 instead of unsigned int] Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions