Hi John, On 01/22/2016 02:27 AM, John Ogness wrote: > Note that an ugly device-tree lookup hack is implemented in order > to detect if the sDMA engine is being used. This is necessary > because the sDMA driver does not implement pause/resume correctly > and therefore requires slightly different logic for the UART > driver.
No, this is not acceptable. Please work with Vinod to refine the dma_get_slave_caps() interface so that dmaengine drivers that don't provide the _documented_ pause/resume support can be identified generically. Regards, Peter Hurley