]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dmaengine: kill some dubious WARN_ONCEs
authorDan Williams <dan.j.williams@intel.com>
Mon, 19 Jan 2009 21:39:10 +0000 (14:39 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 19 Jan 2009 21:39:10 +0000 (14:39 -0700)
commit83436a0560e9ef8af2f0796264dde4bed1415359
treeec195673813725fbfc49c6e56689682b162f42d4
parent169d5f663759ec494aa74a552ce99486235e6e50
dmaengine: kill some dubious WARN_ONCEs

dma_find_channel and dma_issue_pending_all are good places to warn about
improper api usage.  However, warning correctly means synchronizing with
dma_list_mutex, i.e. too much overhead for these fast-path calls.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmaengine.c