]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl_micfil: Add mclk enable flag
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 27 Sep 2024 08:00:30 +0000 (16:00 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:09:29 +0000 (01:09 +0200)
commitb47024dc624bcffb89d238f4a5b490363cea2a1e
tree0443086cb6e6eb38a2d7983646bd241f253b9c31
parent06df673d20230afb0e383e39235a4fa8b9a62464
ASoC: fsl_micfil: Add mclk enable flag

Previously the mclk is enabled in probe() stage, which
is not necessary. Move mclk enablement to hw_params()
and mclk disablement to hw_free() will be more efficient.
'mclk_flag' is used for this case.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/1727424031-19551-3-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c