Łukasz Stelmach 20b4016a3b
spi: spi-s3c64xx: Ensure cur_speed holds actual clock value
Make sure the cur_speed value used in s3c64xx_enable_datapath()
to configure DMA channel and in s3c64xx_wait_for_*() to calculate the
transfer timeout is set to the actual value of (half) the clock speed.

Don't change non-CMU case, because no frequency calculation errors have
been reported.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Suggested-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20201002122243.26849-8-l.stelmach@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-10-02 21:54:22 +01:00
..
2020-08-28 21:17:56 +02:00
2020-09-04 13:19:19 -07:00
2020-08-02 18:26:51 +03:00
2020-08-28 16:38:29 -07:00
2020-08-15 08:18:22 -07:00
2020-09-06 09:59:27 -07:00
2020-09-04 12:12:39 -07:00
2020-07-27 11:49:37 +02:00
2020-09-06 09:59:27 -07:00
2020-08-26 10:44:15 -07:00
2020-08-29 12:37:00 -07:00
2020-08-05 19:24:27 -07:00
2020-09-03 08:22:16 -07:00
2020-08-28 10:15:33 -07:00
2020-08-26 10:50:50 -07:00
2020-08-31 11:22:57 -07:00
2020-09-04 13:04:51 -07:00
2020-08-14 16:00:09 -07:00
2020-09-01 14:12:44 -07:00
2020-09-03 08:22:16 -07:00
2020-08-26 10:58:20 -07:00
2020-08-30 10:51:03 -07:00
2020-08-30 10:56:12 -07:00
2020-09-06 09:59:27 -07:00