aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/ich.h
diff options
context:
space:
mode:
authorEugeniy Paltsev2018-03-22 13:50:45 +0300
committerJagan Teki2018-03-22 23:01:35 +0530
commitd3d8aaec7401703079f296a6460fe649fb06581b (patch)
treee70695efb27fae09b46e6f334186b1c4ad62b223 /drivers/spi/ich.h
parentfc282c7bcb6a622ce1a0cf82c55654dec5bcb0cd (diff)
DW SPI: refactor poll_transfer functions
There is no sense in waiting for RX data in dw_reader function: there is no chance that RX data will appear in RX FIFO if RX FIFO is empty after previous TX write in dw_writer function. So get rid of this waiting. After that we can get rid of dw_reader return value and make it returning void. After that we can get rid of dw_reader return value check in poll_transfer function. With these changes we're getting closer to Linux DW SPI driver. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/spi/ich.h')
0 files changed, 0 insertions, 0 deletions