Re: Async resume patch (was: Re: [GIT PULL] PM updates for 2.6.33)

Alan Stern
2009-12-09T17:10:03Z

On Wed, 9 Dec 2009, Mark Brown wrote:

> > How long does it take to bring down the entire embedded audio
> > subsystem? And how critical is the timing for typical systems?
>
> Worst case is about a second for both resume and suspend which means two
> seconds total but it's very hardware dependant.

A second seems awfully long. What happens if audio isn't being played
when the suspend occurs? Can't you shorten things with no artifacts in
that case?

If audio _is_ being played when a suspend occurs, users probably don't
mind audible artifacts. In fact, they probably expect some.

Alan Stern