diff options
author | 2011-01-20 05:50:39 +0800 | |
---|---|---|
committer | 2011-01-31 12:42:23 +0100 | |
commit | 341b9419a8c0a4cdb75773c576870f1eb655516d (patch) | |
tree | cfa8912c361d8cf24a67a8bc560523537769695f /drivers/usb/host/ehci-hub.c | |
parent | dmaengine: imx-sdma: correct sdmac->status in sdma_handle_channel_loop() (diff) | |
download | linux-dev-341b9419a8c0a4cdb75773c576870f1eb655516d.tar.xz linux-dev-341b9419a8c0a4cdb75773c576870f1eb655516d.zip |
dmaengine: imx-sdma: fix up param for the last BD in sdma_prep_slave_sg()
As per the reference manual, bit "L" should be set while bit "C"
should be cleared for the last buffer descriptor in the non-cyclic
chain, so that sdma can stop trying to find the next BD and end
the transfer.
In case of sdma_prep_slave_sg(), BD_LAST needs to be set and BD_CONT
be cleared for the last BD.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
0 files changed, 0 insertions, 0 deletions