Files
u-boot/drivers
Eugeniy Paltsev fc282c7bcb DW SPI: fix transmit only mode
In current implementation we get -ETIMEDOUT error when we try to use
transmit only mode (SPI_TMOD_TO)
This happens because in transmit only mode input FIFO never gets any data
which breaks our logic in dw_reader(): we are waiting until RX data will be
ready in dw_reader, but this newer happens, so we return with error.

Fix that by using SPI_TMOD_TR instead of SPI_TMOD_TO which allows to use
RX FIFO.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-03-22 23:01:35 +05:30
..
2018-02-13 23:24:22 -05:00
2018-03-21 23:23:13 +01:00
2018-02-18 15:53:48 -07:00
2018-02-21 20:28:15 +01:00
2018-03-14 13:27:14 -04:00
2018-03-13 22:36:33 +05:30
2018-03-21 23:23:13 +01:00
2018-03-13 18:12:35 +01:00
2018-03-19 16:14:21 -04:00
2018-02-04 12:00:58 +01:00
2018-03-22 23:01:35 +05:30
2018-03-09 09:23:10 -05:00
2018-03-19 16:14:20 -04:00