Re: [PATCH] spi: omap3_spi: Fix speed and mode selection

2020-12-23 Thread Lokesh Vutla
On 29/11/20 12:53 pm, Vignesh Raghavendra wrote: > McSPI IP provides per CS specific speed and mode selection. Therefore it > is possible to apply these settings only after CS is known. But > set_speed and set_mode can be called without bus being claimed, this > would lead driver to set up

Re: [PATCH] spi: omap3_spi: Fix speed and mode selection

2020-12-01 Thread Miquel Raynal
Hi Vignesh, Vignesh Raghavendra wrote on Tue, 1 Dec 2020 15:45:27 +0530: > +Miquel, > > On 11/29/20 12:53 PM, Vignesh Raghavendra wrote: > > McSPI IP provides per CS specific speed and mode selection. Therefore it > > is possible to apply these settings only after CS is known. But > >

Re: [PATCH] spi: omap3_spi: Fix speed and mode selection

2020-12-01 Thread Vignesh Raghavendra
+Miquel, On 11/29/20 12:53 PM, Vignesh Raghavendra wrote: > McSPI IP provides per CS specific speed and mode selection. Therefore it > is possible to apply these settings only after CS is known. But > set_speed and set_mode can be called without bus being claimed, this > would lead driver to set

[PATCH] spi: omap3_spi: Fix speed and mode selection

2020-11-28 Thread Vignesh Raghavendra
McSPI IP provides per CS specific speed and mode selection. Therefore it is possible to apply these settings only after CS is known. But set_speed and set_mode can be called without bus being claimed, this would lead driver to set up wrong CS (or previously used CS). Fix this by apply set_speed