]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dma : EG20T PCH: Fix miss-setting DMA descriptor
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Wed, 1 Dec 2010 10:49:48 +0000 (19:49 +0900)
committerDan Williams <dan.j.williams@intel.com>
Tue, 7 Dec 2010 23:07:08 +0000 (15:07 -0800)
commit943d8d8bca431d6c93f17bf38f4b09c65e0a81d7
treee9b81cba5e8c3f761a4848c4e7de73e4ab0b5aab
parentcf2f9c59807f173b1c6a537fde7c83c8da876e56
dma : EG20T PCH: Fix miss-setting DMA descriptor

Currently, in case of using scatter/gather mode, head of data is not sent to

destination. The cause is second descriptor address is set to NEXT.

The NEXT must have head of descriptor address.

This patch sets head of descriptor address to the NEXT.

Acked-by: Yong Wang <youg.y.wang@intel.com>
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
[dan.j.williams@intel.com: fixed up usage of virt_to_phys()]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/pch_dma.c