Re: [U-Boot] [PATCH] spi-uclass: claim bus before setting speed

2019-06-26 Thread Jagan Teki
On Thu, Jun 20, 2019 at 6:48 PM George Hilliard wrote: > > The sunxi SPI peripheral driver attempts to interact with the > peripheral in the set_speed function. It also resets the device > completely (disabling clocks and power) when the bus is released and We do set_speed even before this, duri

[U-Boot] [PATCH] spi-uclass: claim bus before setting speed

2019-06-20 Thread George Hilliard
The sunxi SPI peripheral driver attempts to interact with the peripheral in the set_speed function. It also resets the device completely (disabling clocks and power) when the bus is released and turns it back on when claiming. So, if the clock was set up before the bus was claimed, the speed chan