]> git.baikalelectronics.ru Git - kernel.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)
commit498c4188e1b3671d1bf850212ed971b996b75831
treee9b81cba5e8c3f761a4848c4e7de73e4ab0b5aab
parent677a20a0b821ea615c560f15295c895a22674e84
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