Commit 1d0474ab authored by Mark Brown's avatar Mark Brown Committed by Neena Busireddy
Browse files

spi: Fix handling of cs_change in core implementation



The core implementation of cs_change didn't follow the documentation
which says that cs_change in the middle of the transfer means to briefly
deassert chip select, instead it followed buggy drivers which change the
polarity of chip select.  Use a delay of 10us between deassert and
reassert simply from pulling numbers out of a hat.

Reported-by: default avatarGerhard Sittig <gsi@denx.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
(cherry picked from commit 0b73aa63)
(cherry picked from commit f5ec8bd357c3f3fddb46a9bf17293cc6f77d2563)
parent f676d990
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment