diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2018-04-19 17:47:41 +0300 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-04-23 11:16:41 +0530 |
commit | 9b14ac5cc2294ac3eaae92421abff27ed3e6caae (patch) | |
tree | d680cca99f37250de9ba19a33ecf2923e8bbce56 /.gitignore | |
parent | 4d95ed39a19565a784419c8d9d67ad1b46ce3103 (diff) | |
download | u-boot-9b14ac5cc2294ac3eaae92421abff27ed3e6caae.tar.gz u-boot-9b14ac5cc2294ac3eaae92421abff27ed3e6caae.tar.xz u-boot-9b14ac5cc2294ac3eaae92421abff27ed3e6caae.zip |
spi: dw: invert wait condition in dw_spi_xfer
While switching to readl_poll_timeout macros from custom code
the waiting condition was accidently inverted, so it was pure
luck that this code works at least in some conditions.
Fix that by inverting exit condition for readl_poll_timeout.
Fixes: c6b4f031d9 ("DW SPI: fix tx data loss on FIFO flush")
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions