Skip to content
Commit f9a5a5c7 authored by Nicolò Veronese's avatar Nicolò Veronese Committed by Tom Rini
Browse files

spi: mtk_spim: prevent global pll clock override



With commit 793e6230
 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: default avatarValerio 'ftp21' Mancini <ftp21@ftp21.eu>
Signed-off-by: default avatarNicolò Veronese <nicveronese@gmail.com>
parent 20535a33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment