Re: [PATCH] spi: zynqmp_gqspi: fix set_speed bug on multiple runs

2021-02-23 Thread Michal Simek
st 20. 1. 2021 v 21:29 odesílatel Brandon Maier napsal: > > If zynqmp_qspi_set_speed() is called multiple times with the same speed, > then on the second call it will skip recalculating the baud_rate_val as > it assumes the speed is already configured correctly. But it will still > write the baud_

Re: [PATCH] spi: zynqmp_gqspi: fix set_speed bug on multiple runs

2021-02-12 Thread Michal Simek
Hi Ashok On 1/20/21 9:28 PM, Brandon Maier wrote: > If zynqmp_qspi_set_speed() is called multiple times with the same speed, > then on the second call it will skip recalculating the baud_rate_val as > it assumes the speed is already configured correctly. But it will still > write the baud_rate_val

[PATCH] spi: zynqmp_gqspi: fix set_speed bug on multiple runs

2021-01-20 Thread Brandon Maier
If zynqmp_qspi_set_speed() is called multiple times with the same speed, then on the second call it will skip recalculating the baud_rate_val as it assumes the speed is already configured correctly. But it will still write the baud_rate_val to the configuration register and call zynqmp_gqspi_set_ta