diff options
| author | Thomas Abraham <[email protected]> | 2011-10-24 11:43:11 +0200 |
|---|---|---|
| committer | Kukjin Kim <[email protected]> | 2011-12-23 10:07:03 +0900 |
| commit | cd072515215ccc37051cadc516ce28545257be41 (patch) | |
| tree | f67c1ed0a2a988181c20f545f0ad1732b2444a90 /kernel/rtmutex-debug.c | |
| parent | 3e2ec13a8185183cd7ff237dadc948a0f9f7398f (diff) | |
DMA: PL330: Infer transfer direction from transfer request instead of platform data
The transfer direction for a channel can be inferred from the transfer
request and the need for specifying transfer direction in platfrom data
can be eliminated. So the structure definition 'struct dma_pl330_peri'
is no longer required.
The channel's private data is set to point to a channel id specified in
the platform data (instead of an instance of type 'struct dma_pl330_peri').
The filter function is correspondingly modified to match the channel id.
With the 'struct dma_pl330_peri' removed from platform data, the dma
controller transfer capabilities cannot be inferred any more. Hence,
the dma controller capabilities is specified using platform data.
Acked-by: Jassi Brar <[email protected]>
Acked-by: Boojin Kim <[email protected]>
Signed-off-by: Thomas Abraham <[email protected]>
Acked-by: Grant Likely <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Signed-off-by: Kukjin Kim <[email protected]>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions