[alsa-devel] [PATCH v7 5/9] ASoC: hdac_hdmi: Fix to wait for D3 before powering off codec

Mark Brown broonie at kernel.org
Fri Feb 19 16:56:40 CET 2016


On Wed, Feb 17, 2016 at 09:34:03PM +0530, Subhransu S. Prusty wrote:

> +		/* Wait till power state is set to D3 */
> +		timeout = jiffies + msecs_to_jiffies(1000);
> +		while(!snd_hdac_check_power_state(hdac, hdac->afg, AC_PWRST_D3)

Please follow the kernel coding style - space after the while.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160220/44277df2/attachment.sig>


More information about the Alsa-devel mailing list