niedz., 26 sty 2020 o 14:30 Jagan Teki <ja...@amarulasolutions.com> napisaĆ(a): > > On Thu, Nov 21, 2019 at 10:09 AM Marcin Wojtas <m...@semihalf.com> wrote: > > > > The SPI stack relies on a proper bus speed/mode configuration > > by calling dm_spi_claim_bus(). However the hitherto code > > allowed to accidentally override those settings in > > the spi_get_bus_and_cs() routine. > > > > The initially established speed could be discarded by using > > the slave platdata, which turned out to be an issue on > > the platforms whose slave maximum supported frequency > > is not on par with the maximum frequency of the bus controller. > > > > This patch fixes above issue by configuring the bus from > > spi_get_bus_and_cs() only in case it was not done before. > > > > Signed-off-by: Marcin Wojtas <m...@semihalf.com> > > --- > > Applied to u-boot-spi/master
Great, thanks! Marcin