26 May
2011
26 May
'11
6:08 p.m.
On Thu, May 26, 2011 at 04:32:18PM +0300, Jarkko Nikula wrote:
Commit 52ba67b ("ASoC: Force all DAPM contexts into the same bias state") powers up all the DAPM contexts in a card if any DAPM context becomes active. Unfortunately power down newer happens if per-card DAPM context doesn't have any widgets.
Reason for this is that power state of per-card DAPM context without widgets is never cleared and thus all the DAPM contexts remain permanently active. Test for widgetless calling DAPM context in dapm_power_widgets() doesn't work for per-card DAPM context since power change is never originating from widgetless per-card DAPM context.
Applied, thanks, though this is a bit of a band aid as we're currently still allowing widgetless CODECs.