Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -967,7 +967,7 @@ static const char * const g12a_vpu_parent_names[] = {
static struct clk_regmap g12a_vpu_0_sel = {
	.data = &(struct clk_regmap_mux_data){
		.offset = HHI_VPU_CLK_CNTL,
		.mask = 0x3,
		.mask = 0x7,
		.shift = 9,
	},
	.hw.init = &(struct clk_init_data){
@@ -1011,7 +1011,7 @@ static struct clk_regmap g12a_vpu_0 = {
static struct clk_regmap g12a_vpu_1_sel = {
	.data = &(struct clk_regmap_mux_data){
		.offset = HHI_VPU_CLK_CNTL,
		.mask = 0x3,
		.mask = 0x7,
		.shift = 25,
	},
	.hw.init = &(struct clk_init_data){