[PATCH 1/3] ASoC: adau1372: fix mclk
Sa, Nuno
Nuno.Sa at analog.com
Mon Oct 31 12:20:41 CET 2022
> -----Original Message-----
> From: Maarten Zanders <maarten.zanders at mind.be>
> Sent: Friday, October 28, 2022 5:26 PM
> To: Lars-Peter Clausen <lars at metafoo.de>; Sa, Nuno
> <Nuno.Sa at analog.com>; Liam Girdwood <lgirdwood at gmail.com>; Mark
> Brown <broonie at kernel.org>; Jaroslav Kysela <perex at perex.cz>; Takashi
> Iwai <tiwai at suse.com>
> Cc: Maarten Zanders <maarten.zanders at mind.be>; alsa-devel at alsa-
> project.org; linux-kernel at vger.kernel.org
> Subject: [PATCH 1/3] ASoC: adau1372: fix mclk
>
> [External]
>
> "mclk" is retrieved from the configuration and assigned to adau1372->clk.
> However adau1372->mclk (==NULL) is used for clk_prepare_enable() and
> clk_disable_unprepare() which don't have any effect.
>
> Remove .clk from struct adau1372 and use .mclk throughout.
> This change ensures that the input clock is switched on/off when the
> bias level is changed.
>
> Signed-off-by: Maarten Zanders <maarten.zanders at mind.be>
> ---
I guess this needs a Fixes: tag?
- Nuno Sá
More information about the Alsa-devel
mailing list