Re: [PATCH] spi: fsl-dspi: Set max_speed_hz for master

2016-03-22 Thread Stefan Agner
On 2016-03-21 13:11, Bhuvanchandra DV wrote: > Calculate and update max speed from bus clock for SoC's > using DSPI IP. > > The bus clock factor's are taken from the data sheet's > of respective SoC's. Plurals are without apostrophe... I wonder if GCC optimizes this to a bit shift... Acked-by:

[PATCH] spi: fsl-dspi: Set max_speed_hz for master

2016-03-21 Thread Bhuvanchandra DV
Calculate and update max speed from bus clock for SoC's using DSPI IP. The bus clock factor's are taken from the data sheet's of respective SoC's. Signed-off-by: Bhuvanchandra DV --- drivers/spi/spi-fsl-dspi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/spi/spi-fsl-dspi.c