Searched hist:"9 d14f4ef9bae3a4a973e45b86f7ae82eab0b820b" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | sh_qspi.c | 9d14f4ef9bae3a4a973e45b86f7ae82eab0b820b Tue Apr 10 14:58:46 UTC 2018 Marek Vasut <marek.vasut+renesas@gmail.com> UPSTREAM: spi: sh_qspi: Replace ad hoc waiting with wait_for_bit
Replace the ad-hoc endless loops with wait_for_bit() with reasonable timeout. Note that the loops had internal 10uS delays, although there is no reason for those on this HW, so they are dropped.
Change-Id: I0d004adc09e2fb32e88b17b0f060aecc0b7bda35 Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 9573db654d1999a1dfde6469782aa8d7cf3d589f)
|