[Query]: What should we do in txd->tx_submit() and device_issue_pending()

From: viresh kumar
Date: Tue Jul 19 2011 - 05:02:57 EST

Hi Dan/Vinod,

I have one query regarding implementation of few routines in DMA drivers.

What the exact purpose of txd->tx_submit() and device_issue_pending() routines?

Should tx_submit() always start physical transfer (Obviously, if channel is free)?
Or should it just queue requests and then finally a call to device_issue_pending()
must start physical transfers?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/