Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: max98090/91: fixed max98091 ALSA widget powering up/down

The widgets DMIC3_ENA and DMIC4_ENA must be defined in the DAPM
suppy widget, just like DMICL_ENA and DMICR_ENA. Whenever they
are turned on or off, the required startup or shutdown sequences
must be taken care by the max98090_shdn_event.

Signed-off-by: Sharique Mohammad <sharq0406@gmail.com>
Link: https://patch.msgid.link/20251015134215.750001-1-sharq0406@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Sharique Mohammad and committed by
Mark Brown
7a37291e fcd298fd

+4 -2
+4 -2
sound/soc/codecs/max98090.c
··· 1234 1234 SND_SOC_DAPM_INPUT("DMIC4"), 1235 1235 1236 1236 SND_SOC_DAPM_SUPPLY("DMIC3_ENA", M98090_REG_DIGITAL_MIC_ENABLE, 1237 - M98090_DIGMIC3_SHIFT, 0, NULL, 0), 1237 + M98090_DIGMIC3_SHIFT, 0, max98090_shdn_event, 1238 + SND_SOC_DAPM_POST_PMU), 1238 1239 SND_SOC_DAPM_SUPPLY("DMIC4_ENA", M98090_REG_DIGITAL_MIC_ENABLE, 1239 - M98090_DIGMIC4_SHIFT, 0, NULL, 0), 1240 + M98090_DIGMIC4_SHIFT, 0, max98090_shdn_event, 1241 + SND_SOC_DAPM_POST_PMU), 1240 1242 }; 1241 1243 1242 1244 static const struct snd_soc_dapm_route max98090_dapm_routes[] = {