diff options
author | Robert Baldyga <r.baldyga@hackerion.com> | 2016-11-01 22:18:39 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-02 16:30:43 +0100 |
commit | 32df9ff2b88f9b3ef0865837cd6a39c957dab875 (patch) | |
tree | e4f49ad83d6030c856e05fa0e995791bae4dbe26 /sound/soc/samsung/ac97.c | |
parent | spi: imx: support DMA for imx35 (diff) | |
download | linux-32df9ff2b88f9b3ef0865837cd6a39c957dab875.tar.xz linux-32df9ff2b88f9b3ef0865837cd6a39c957dab875.zip |
spi: imx: set spi_bus_clk for mx21 and mx27
Introduce additional output parameter in spi_imx_clkdiv_1()
function to return result frequency and set it to spi_bus_clk.
This fixes division by zero bug, which occurred in
spi_imx_calculate_timeout() function.
Signed-off-by: Robert Baldyga <r.baldyga@hackerion.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/ac97.c')
0 files changed, 0 insertions, 0 deletions