From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@opensource.wolfsonmicro.com (Mark Brown) Date: Fri, 1 Jul 2011 09:15:07 -0700 Subject: [PATCH] ASoC: wm8731: set the ACTIVE bit if bias ON entered In-Reply-To: <1309517034-26110-1-git-send-email-nicolas.ferre@atmel.com> References: <1309517034-26110-1-git-send-email-nicolas.ferre@atmel.com> Message-ID: <20110701161506.GC23784@opensource.wolfsonmicro.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jul 01, 2011 at 12:43:54PM +0200, Nicolas Ferre wrote: > Resuming from a suspend/resume cycle, the ACTIVE bit was not set even if a > stream had actually been processing. > Setting this bit at entering SND_SOC_BIAS_ON level will ensure this. This will set the bit even for analogue bypass paths which don't need it. I'd suggest making the active bit a supply widget supplying the DAC and ADC rather than something open coded, that should do the right thing I think.