[PATCH 2/2] ASoC: Don't block system resume

Andy Green andy at openmoko.com
Sat Jun 14 08:30:33 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| +	/* Due to the resume being scheduled into a workqueue we could
| +	* suspend before that's finished - wait for it to complete.
| +	 */
| +	snd_power_lock(codec->card);
| +	snd_power_wait(codec->card, SNDRV_CTL_POWER_D0);
| +	snd_power_unlock(codec->card);

Thanks a lot for sorting this stuff out Mark.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhTZYkACgkQOjLpvpq7dMq+UACgkdNAsWpVmi/kERTiEPs98TeJ
HvcAoIssBFmcKobTR4CbE0dyMaZkjlOP
=ur53
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list