9 Jun
2014
9 Jun
'14
7:22 a.m.
+static int rt5677_set_micbias1_event(struct snd_soc_dapm_widget *w,
- struct snd_kcontrol *kcontrol, int event) {
- struct snd_soc_codec *codec = w->codec;
- struct rt5677_priv *rt5677 = snd_soc_codec_get_drvdata(codec);
- switch (event) {
- case SND_SOC_DAPM_POST_PMU:
regmap_update_bits(rt5677->regmap, RT5677_PWR_ANLG2,
RT5677_PWR_CLK_MB1 | RT5677_PWR_PP_MB1 |
RT5677_PWR_CLK_MB, RT5677_PWR_CLK_MB1 |
RT5677_PWR_PP_MB1 | RT5677_PWR_CLK_MB);
What does this do - I note we never undo this?
We will add a PMD case for this event, thanks.