[PATCH v7 3/4] dmaengine: pl330: Store pointer to slave device

2017-01-25 Thread Marek Szyprowski
Store the pointer to slave device, which requested our channel. It will be later used to implement runtime PM of PL330 DMA controller. Although DMA channels might be requested many times, each DMA peripheral channel is physically dedicated only for specific hardware, so there should be only one

[PATCH v7 3/4] dmaengine: pl330: Store pointer to slave device

2017-01-25 Thread Marek Szyprowski
Store the pointer to slave device, which requested our channel. It will be later used to implement runtime PM of PL330 DMA controller. Although DMA channels might be requested many times, each DMA peripheral channel is physically dedicated only for specific hardware, so there should be only one