Commit f53b9f14 authored by Maxime Jourdan's avatar Maxime Jourdan Committed by Neil Armstrong

clk: meson: g12a: fix VPU clock muxes mask

There are 8 parents, use 0x7

Fixes: 085a4ea9 ("clk: meson: g12a: add peripheral clock controller")
Signed-off-by: default avatarMaxime Jourdan <mjourdan@baylibre.com>
Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20190319082611.6215-1-mjourdan@baylibre.com
parent 9b70c697
...@@ -967,7 +967,7 @@ static const char * const g12a_vpu_parent_names[] = { ...@@ -967,7 +967,7 @@ static const char * const g12a_vpu_parent_names[] = {
static struct clk_regmap g12a_vpu_0_sel = { static struct clk_regmap g12a_vpu_0_sel = {
.data = &(struct clk_regmap_mux_data){ .data = &(struct clk_regmap_mux_data){
.offset = HHI_VPU_CLK_CNTL, .offset = HHI_VPU_CLK_CNTL,
.mask = 0x3, .mask = 0x7,
.shift = 9, .shift = 9,
}, },
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
...@@ -1011,7 +1011,7 @@ static struct clk_regmap g12a_vpu_0 = { ...@@ -1011,7 +1011,7 @@ static struct clk_regmap g12a_vpu_0 = {
static struct clk_regmap g12a_vpu_1_sel = { static struct clk_regmap g12a_vpu_1_sel = {
.data = &(struct clk_regmap_mux_data){ .data = &(struct clk_regmap_mux_data){
.offset = HHI_VPU_CLK_CNTL, .offset = HHI_VPU_CLK_CNTL,
.mask = 0x3, .mask = 0x7,
.shift = 25, .shift = 25,
}, },
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment