[PATCH] spi: mtk_spim: prevent global pll clock override

Tom Rini trini at konsulko.com
Wed Oct 11 20:37:39 CEST 2023


On Wed, Oct 04, 2023 at 12:14:26AM +0200, Nicolò Veronese wrote:

> With commit 793e6230118032a099ec42a1ea67f434721edcc0
>  a new system to calculate the SPI clocks has been added.
> 
> Unfortunately, the do_div macro overrides the global
>  priv->pll_clk_rate field. This will cause to have a reduced
>  clock rate on each subsequent SPI call.
> 
> Signed-off-by: Valerio 'ftp21' Mancini <ftp21 at ftp21.eu>
> Signed-off-by: Nicolò Veronese <nicveronese at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231011/0b0908bb/attachment.sig>


More information about the U-Boot mailing list