ASoC: dmic: add regulator support

From: Sven Grewe
Date: Sun Mar 16 2025 - 15:34:45 EST


Dear Maintainers,

I tested linux-next and a patch in it breaks the audio and delays the shutdown process on my system for a few minutes. Reverting the following patch seems to fix it for me in linux-next 20250314:

Author: Olivier Moysan <olivier.moysan@xxxxxxxxxxx>
Date: Thu Mar 6 18:18:40 2025 +0100

ASoC: dmic: add regulator support

Allow management of the regulator that may be used to supply the
digital microphone.

Signed-off-by: Olivier Moysan <olivier.moysan@xxxxxxxxxxx>
Link: https://patch.msgid.link/20250306171840.593443-3-olivier.moysan@xxxxxxxxxxx
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>



linux-next 20250307 worked. Later versions had the problem I described above.

For the bisection I used the default .config from Debian's 6.12.x kernel when building. I build and ran them on my Samsung Galaxy Book. This device got a patch recently in linux-next not related to audio. That's why I wanted to test linux-next and found this.
Linux version 6.14.0-rc6-next-20250314-next20250314-revertbrooniesound-grewe (sven@Turbine) (gcc (Debian 14.2.0-17) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Sun Mar 16 16:06:58 CET 2025
Operating System: Debian GNU/Linux trixie on x86_64
Audio Chip: Realtek ALC256

Kind regards,
Sven J. Grewe