Skip to content
Commit faa0e307 authored by Damien Le Moal's avatar Damien Le Moal Committed by Stephen Boyd
Browse files

clk: k210: Fix k210_clk_set_parent()



In k210_clk_set_parent(), add missing writel() call to update the mux
register of a clock to change its parent. This also fixes a compilation
warning with clang when compiling with W=1.

Fixes: c6ca7616 ("clk: Add RISC-V Canaan Kendryte K210 clock driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
Link: https://lore.kernel.org/r/20210622064502.14841-1-damien.lemoal@wdc.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 2cdee50e
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