commit | 1099dc79245719c046e632212ec09d6ec1154ef5 | [log] [tgz] |
---|---|---|
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | Tue Jul 08 11:58:05 2008 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jul 08 11:58:05 2008 -0700 |
tree | e80912e5d819d131d51b6845d8aff03bd7f2b9f6 | |
parent | 65bc3ffe8c067e387fe5557bc3ea5071071f6af9 [diff] |
dmaengine: Couple DMA channels to their physical DMA device Set the 'parent' field of channel class devices to point to the physical DMA device initialized by the DMA engine driver. This allows drivers to use chan->dev.parent for syncing DMA buffers and adds a 'device' symlink to the real device in /sys/class/dma/dmaXchanY. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>