Searched hist:"23 cdddb21f41e6092643fb8403f992f99ade33be" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-pxa2xx.c | diff 23cdddb21f41e6092643fb8403f992f99ade33be Fri Jun 28 09:07:17 CDT 2019 Jarkko Nikula <jarkko.nikula@linux.intel.com> spi: pxa2xx: Set minimum transfer speed
It is possible to request a transfer with a speed lower than supported by the HW. This causes silent divider calculation underflow in ssp_get_clk_div() which leads to a frequency higher than requested. Up to maximum speed of the controller.
Set the minimum supported transfer speed and let the SPI core to validate no transfers have speed lower than supported.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|