summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-slave-system-control.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2019-06-28 17:07:17 +0300
committerMark Brown <broonie@kernel.org>2019-07-02 12:48:26 +0100
commit23cdddb21f41e6092643fb8403f992f99ade33be (patch)
tree23552554084a88560f57990caf1862310cfb5d77 /drivers/spi/spi-slave-system-control.c
parent775c4c0032c408b8a57a3fc2695eeda101da003a (diff)
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>
Diffstat (limited to 'drivers/spi/spi-slave-system-control.c')
0 files changed, 0 insertions, 0 deletions