Re: [RFC/PATCH] Stop Apple i2s DMA gracefully

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-11-06 at 21:41 +1100, Paul Mackerras wrote:

> OK, this sounds like the suspend trigger should just abort the DMA, on
> the basis that the hardware will get reset in the suspend/resume
> process and so there will be no bytes queued up to cause trouble
> later.  I'll whip up a patch.

I think we should cleanly stop the hardware in this case as well, for
suspend to disk I think it can happen that we suspend the driver and
then suspend is aborted. Not entirely sure about this though.

Btw. What happens when we abort the DMA engine, reset the command
pointer to a stop command, and start it again? Does it drain the FIFO
properly? I'm thinking it should, but ...

johannes

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux