diff options
author | H Hartley Sweeten <[email protected]> | 2017-08-09 08:51:27 +1200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-08-09 17:52:57 +0100 |
commit | 16779622be1c8959d6a665e2b6886bb33885fcb1 (patch) | |
tree | 7be1f51f47534c97d3d9f15daa2a3c918bdcc836 /net/unix/sysctl_net_unix.c | |
parent | 8447e4781f033f56cb18c2ec0301ea5d207877fc (diff) |
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 <[email protected]>
[chris: use u32 instead of unsigned int]
Signed-off-by: Chris Packham <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions