diff options
| author | Nicolò Veronese <nicveronese@gmail.com> | 2023-10-02 22:17:09 +0200 |
|---|---|---|
| committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-03 04:13:33 +0100 |
| commit | 8ed934f3719fe679f5cf78ee7c82f236d40ad463 (patch) | |
| tree | 8c1e342057dcd7a0e2d49bf3197d83660064938c /scripts/const_structs.checkpatch | |
| parent | 250ab7b7a5349626e16b49721ff08e82cf79a793 (diff) | |
| download | upstream-8ed934f3719fe679f5cf78ee7c82f236d40ad463.tar.gz upstream-8ed934f3719fe679f5cf78ee7c82f236d40ad463.tar.bz2 upstream-8ed934f3719fe679f5cf78ee7c82f236d40ad463.zip | |
uboot-mediatek: fix global pll clock override on mtk_spim
With patch 101-03-spi-mtk_spim-get-spi-clk-rate-only-once.patch
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@ftp21.eu>
Signed-off-by: Nicolò Veronese <nicveronese@gmail.com>
(cherry picked from commit 8849ccb9957e69d85c93ad4b58400573a181ad18)
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
