UPSTREAM: ASoC: rt5651: Fix bias_level confusion
The rt5651_set_bias_level() function was turning everything off at SND_SOC_BIAS_STANDBY, rather then at SND_SOC_BIAS_OFF, requiring the bias- level to be raised to SND_SOC_BIAS_PREPARE before turning anything on. This is not how the bias-levels are supposed to work, this commit fixes this by turning everything off at the SND_SOC_BIAS_OFF level and enabling the pwr-bits needed for minimum functionality at SND_SOC_BIAS_STANDBY. This fixes the minimum set of pwr-bits not getting enabled when force-enabling some dapm-supplies (e.g. for jack type detection), which raises the bias-level to standby. Signed-off-by:Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Mark Brown <broonie@kernel.org> (cherry picked from commit 984c803f) Signed-off-by:
Samaga Prasanna Krishna <samaga.krishna@intel.corp-partner.google.com> BUG=b:110025789 TEST=Test Audio use cases with full SOF 0.6 rebase release series applied. Change-Id: Ic51b2aaeaba2acef8236956050b2f0aebc84dd88 Reviewed-on: https://chromium-review.googlesource.com/1353438 Commit-Ready: Curtis Malainey <cujomalainey@chromium.org> Tested-by:
Curtis Malainey <cujomalainey@chromium.org> Reviewed-by:
Curtis Malainey <cujomalainey@chromium.org>
Loading
Please sign in to comment