Messages in this thread | | | From | "Sa, Nuno" <> | Subject | RE: [PATCH 1/3] ASoC: adau1372: fix mclk | Date | Mon, 31 Oct 2022 11:20:41 +0000 |
| |
> -----Original Message----- > From: Maarten Zanders <maarten.zanders@mind.be> > Sent: Friday, October 28, 2022 5:26 PM > To: Lars-Peter Clausen <lars@metafoo.de>; Sa, Nuno > <Nuno.Sa@analog.com>; Liam Girdwood <lgirdwood@gmail.com>; Mark > Brown <broonie@kernel.org>; Jaroslav Kysela <perex@perex.cz>; Takashi > Iwai <tiwai@suse.com> > Cc: Maarten Zanders <maarten.zanders@mind.be>; alsa-devel@alsa- > project.org; linux-kernel@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@mind.be> > ---
I guess this needs a Fixes: tag?
- Nuno Sá
| |