[PATCH] ASoC: qcom: SC7280: Add support for external DMIC bias supply
Mark Brown
broonie at kernel.org
Thu Jul 28 12:49:41 CEST 2022
On Thu, Jul 28, 2022 at 12:40:33PM +0530, Srinivasa Rao Mandadapu wrote:
> +static int sc7280_dmic_micbias(struct snd_soc_dapm_widget *w,
> + struct snd_kcontrol *kcontrol, int event)
> +{
> + struct snd_soc_card *card = w->dapm->card;
> + struct sc7280_snd_data *data = snd_soc_card_get_drvdata(card);
> + int ret = 0;
> +
This is open coding SND_SOC_DAPM_REGULATOR_SUPPLY() isn't it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220728/4884c15b/attachment.sig>
More information about the Alsa-devel
mailing list