clk: rockchip: Fix mask for clk_register_mux_table()

Change-Id: Ic9312fa4a6feed19206e966e97c54c4d47e11f47
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
Finley Xiao
2020-03-30 19:23:28 +08:00
parent d9ed60476f
commit a74a2368f8

View File

@@ -488,7 +488,8 @@ void __init rockchip_clk_register_branches(
list->parent_names, list->num_parents,
flags,
ctx->reg_base + list->muxdiv_offset,
list->mux_shift, list->mux_width,
list->mux_shift,
BIT(list->mux_width) - 1,
list->mux_flags, list->mux_table,
&ctx->lock);
else