28 Jul
2022
28 Jul
'22
12:49 p.m.
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?