Andy Green
6ed2597883
ALSA: ASoC: Don't block system resume
...
On OpenMoko soc-audio resume is taking 700ms of the whole resume time of
1.3s, dominated by writes to the codec over I2C. This patch shunts the
resume guts into a workqueue which then is done asynchronously.
The "card" is locked using the ALSA power state APIs as suggested by
Mark Brown.
[Added fix for race with resume to suspend and fixed a couple of nits
from checkpatch -- broonie.]
Signed-off-by: Andy Green <andy@openmoko.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-06-16 09:32:31 +02:00
..
2008-05-30 16:20:42 +02:00
2006-01-03 12:18:18 +01:00
2008-01-31 17:29:41 +01:00
2008-04-24 12:00:25 +02:00
2008-04-24 12:00:25 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:13 +01:00
2008-01-31 17:29:13 +01:00
2008-01-31 17:29:54 +01:00
2008-04-24 12:00:19 +02:00
2008-06-13 16:48:49 +02:00
2008-05-27 15:56:21 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:21 +01:00
2008-06-13 16:47:33 +02:00
2008-06-13 16:47:33 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:48 +01:00
2006-01-03 12:18:47 +01:00
2008-06-02 11:45:53 +02:00
2005-04-16 15:20:36 -07:00
2006-01-03 12:18:25 +01:00
2005-04-16 15:20:36 -07:00
2006-03-22 10:24:57 +01:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:13 +01:00
2007-10-16 15:58:10 +02:00
2006-05-04 00:42:42 +01:00
2007-10-16 15:58:10 +02:00
2007-10-16 16:51:18 +02:00
2006-03-22 10:24:57 +01:00
2008-01-31 17:29:35 +01:00
2007-10-16 16:51:18 +02:00
2006-09-19 12:43:58 +01:00
2007-10-16 16:51:18 +02:00
2006-01-03 12:29:19 +01:00
2007-10-16 16:51:18 +02:00
2008-04-29 19:01:56 +02:00
2008-02-22 14:20:08 -08:00
2006-01-03 12:18:06 +01:00
2007-10-16 16:51:18 +02:00
2006-06-22 21:33:05 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:47 +01:00
2007-02-09 09:00:05 +01:00
2007-10-16 16:51:18 +02:00
2007-02-09 09:01:14 +01:00
2007-10-16 16:51:18 +02:00
2006-01-03 12:17:52 +01:00
2006-01-03 12:30:49 +01:00
2006-01-03 12:17:52 +01:00
2007-10-16 16:51:18 +02:00
2005-04-16 15:20:36 -07:00
2006-01-03 12:17:57 +01:00
2007-10-16 16:51:18 +02:00
2006-01-03 12:18:14 +01:00
2007-02-09 09:01:15 +01:00
2008-05-19 17:28:43 +02:00
2008-06-16 09:32:31 +02:00
2006-03-22 10:24:57 +01:00
2005-04-16 15:20:36 -07:00
2008-01-31 17:30:14 +01:00
2006-01-03 12:18:08 +01:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:13 +01:00
2008-05-27 15:56:20 +02:00
2006-03-22 10:24:57 +01:00
2008-06-03 09:06:20 +02:00
2007-02-09 09:03:19 +01:00
2006-01-08 20:14:07 -08:00
2007-10-16 16:51:18 +02:00