Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: spi-cadence-quadspi: Search for rxlow at incrementing TX values
commit 44a68f7b5931677bd0a99cf7d6683ce7ca05331f from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git Sometimes TX = 16 might fall outside the range of valid TX values. In that case, the tuning algorithm would be unable to find rxlow or rxhigh, and give up. If TX = 16 is on the border of the valid range, then on some runs it would succeed and on some others it would fail. So if rxlow is not found at the initial TX value of 16, do not give up. Instead, increment the TX and look for it again. This process is repeated until the TX crosses a threshold, after which an error is returned. A similar process is followed for the upper TX boundary as well. Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
- Loading branch information