commit | 208be8f9b4b1d86fa65dbe3f407c20d90fecb83a | [log] [tgz] |
---|---|---|
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | Thu Apr 19 17:47:41 2018 +0300 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon Apr 23 11:16:41 2018 +0530 |
tree | d680cca99f37250de9ba19a33ecf2923e8bbce56 | |
parent | c215a3087cb9a47ebe7b9772fdaa40a9cc67ce73 [diff] |
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>