[alsa-devel] [PATCH] ASoC: sgtl5000: Fix VAG_POWER enabling/disabling order

Mark Brown broonie at kernel.org
Tue May 28 16:59:44 CEST 2013

On Fri, May 24, 2013 at 05:34:56AM +0200, Marek Vasut wrote:

>  		snd_soc_update_bits(w->codec, SGTL5000_CHIP_ANA_POWER,
>  			SGTL5000_VAG_POWERUP, 0);
> -		msleep(400);
> +		mdelay(400);
>  		break;

This looks to be both unrelated and a regression - mdelay() should be
more resource intensive than sleeping and if it's 400ms we shouldn't be
that worried about delaying slightly longer.

Please note my updated mail address which I've been using for a while
now, the Wolfson one will go bad at the end of the week.

More information about the Alsa-devel mailing list