]> Git Repo - linux.git/commit
ASoC: msm8916-wcd-analog: Fix selected events for MIC BIAS External1
authorStephan Gerhold <[email protected]>
Sat, 11 Jan 2020 16:40:03 +0000 (17:40 +0100)
committerMark Brown <[email protected]>
Mon, 13 Jan 2020 15:12:25 +0000 (15:12 +0000)
commite0beec88397b163c7c4ea6fcfb67e8e07a2671dc
treeaf415b7925d212ba1c3311655dc5fec5de9655fc
parent552b1a85da9f63856e7e341b81c16e0e078204f1
ASoC: msm8916-wcd-analog: Fix selected events for MIC BIAS External1

MIC BIAS External1 sets pm8916_wcd_analog_enable_micbias_ext1()
as event handler, which ends up in pm8916_wcd_analog_enable_micbias_ext().

But pm8916_wcd_analog_enable_micbias_ext() only handles the POST_PMU
event, which is not specified in the event flags for MIC BIAS External1.
This means that the code in the event handler is never actually run.

Set SND_SOC_DAPM_POST_PMU as the only event for the handler to fix this.

Fixes: 585e881e5b9e ("ASoC: codecs: Add msm8916-wcd analog codec")
Cc: Srinivas Kandagatla <[email protected]>
Signed-off-by: Stephan Gerhold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/msm8916-wcd-analog.c
This page took 0.055433 seconds and 4 git commands to generate.