diff mbox series

[4/7] clk: meson: axg-audio: fix regmap last register

Message ID 20190924153356.24103-5-jbrunet@baylibre.com (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series clk: meson: axg-audio: add sm1 support | expand

Commit Message

Jerome Brunet Sept. 24, 2019, 3:33 p.m. UTC
Since the addition of the g12a, the last register is
AUDIO_CLK_SPDIFOUT_B_CTRL.

Fixes: 075001385c66 ("clk: meson: axg-audio: add g12a support")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 drivers/clk/meson/axg-audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Neil Armstrong Sept. 27, 2019, 9:11 a.m. UTC | #1
On 24/09/2019 17:33, Jerome Brunet wrote:
> Since the addition of the g12a, the last register is
> AUDIO_CLK_SPDIFOUT_B_CTRL.
> 
> Fixes: 075001385c66 ("clk: meson: axg-audio: add g12a support")
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  drivers/clk/meson/axg-audio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c
> index 60ac71856e5e..4b34601342bb 100644
> --- a/drivers/clk/meson/axg-audio.c
> +++ b/drivers/clk/meson/axg-audio.c
> @@ -997,7 +997,7 @@ static const struct regmap_config axg_audio_regmap_cfg = {
>  	.reg_bits	= 32,
>  	.val_bits	= 32,
>  	.reg_stride	= 4,
> -	.max_register	= AUDIO_CLK_PDMIN_CTRL1,
> +	.max_register	= AUDIO_CLK_SPDIFOUT_B_CTRL,
>  };
>  
>  struct audioclk_data {
> 

Acked-by: Neil Armstrong <narmstrong@baylibre.com>
diff mbox series

Patch

diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c
index 60ac71856e5e..4b34601342bb 100644
--- a/drivers/clk/meson/axg-audio.c
+++ b/drivers/clk/meson/axg-audio.c
@@ -997,7 +997,7 @@  static const struct regmap_config axg_audio_regmap_cfg = {
 	.reg_bits	= 32,
 	.val_bits	= 32,
 	.reg_stride	= 4,
-	.max_register	= AUDIO_CLK_PDMIN_CTRL1,
+	.max_register	= AUDIO_CLK_SPDIFOUT_B_CTRL,
 };
 
 struct audioclk_data {