
1 Mar
2019
1 Mar
'19
12:55 a.m.
On Mon, Feb 18, 2019 at 06:04:29PM -0500, David Rivshin wrote:
From: David Rivshin DRivshin@allworx.com
_omap3_spi_set_wordlen() indexed the regs->channel[] array with the old wordlen (instead of the chipselect number) when reading the current CHCONF register value. This meant it read from the wrong memory location, modified that value, and then wrote it back to the correct CHCONF register. The end result is that most slave configuration settings would be lost, such as clock divisor, clock/chipselect polarities, etc.
Fixes: 77b8d04854f4 ("spi: omap3: Convert to driver model") Signed-off-by: David Rivshin drivshin@allworx.com
Applied to u-boot/master, thanks!
--
Tom