On Monday 05 January 2009, David Brownell wrote:
> Fix a minor glitch and ensure all DMA channels are initialized with
> a dummy transfer with all options zeroed, so it's not possible to
> accidentally start getting intermediate completion callbacks or
> event chaining by accident.  Save eight bytes while doing that.

Random thought:  it's probably worth ensuring that when each
channel (PaRAM slot) is freed, it gets scrubbed in a similar
way ... to help defend against buggy drivers that free channels
before fully shutting them down.

I don't think there can be a complete defense against that, though.
The hardware doesn't have a way to prevent a PaRAM slot from
being used (as a slave) to reload a (master) channel; PaRAM isn't
shadowed.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to