ARM: PL08x: put txd's on the pending list in pl08x_tx_submit()
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:44:57 +0000 (22:44 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:14 +0000 (19:16 -0800)
commit501e67e82dee68d0a594ec0549f3d6a2943c91f5
treec211a6a59ab79a8c83d432e2053f64586d5b159a
parent15c17232fbd1f7687c740c3c26f9e7f337bd9e36
ARM: PL08x: put txd's on the pending list in pl08x_tx_submit()

Don't place TXDs on the pending list when they're prepared - place
them on the list when they're ready to be submitted.  Also, only
place memcpy requests in the wait state when they're submitted and
don't have a physical channel associated.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/amba-pl08x.c