diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-04 11:20:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-04 11:20:14 -0500 |
commit | 9bb676966aa85e56af00b353387d3c274a26e480 (patch) | |
tree | cafc9a409aa05cc9060eb53f03c35881f41b6cec /arch | |
parent | 0f2cc4ecd81dc1917a041dc93db0ada28f8356fa (diff) | |
parent | dd58ffcf5a5352fc10820c8ffbcd5fed416a2c3a (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx: (28 commits)
ioat: cleanup ->timer_fn() and ->cleanup_fn() prototypes
ioat3: interrupt coalescing
ioat: close potential BUG_ON race in the descriptor cleanup path
ioat2: kill pending flag
ioat3: use ioat2_quiesce()
ioat3: cleanup, don't enable DCA completion writes
DMAENGINE: COH 901 318 lli sg offset fix
DMAENGINE: COH 901 318 configure channel direction
DMAENGINE: COH 901 318 remove irq counting
DMAENGINE: COH 901 318 descriptor pool refactoring
DMAENGINE: COH 901 318 cleanups
dma: Add MPC512x DMA driver
Debugging options for the DMA engine subsystem
iop-adma: redundant/wrong tests in iop_*_count()?
dmatest: fix handling of an even number of xor_sources
dmatest: correct raid6 PQ test
fsldma: Fix cookie issues
fsldma: Fix cookie issues
dma: cases IPU_PIX_FMT_BGRA32, BGR32 and ABGR32 are the same in ipu_ch_param_set_size()
dma: make Open Firmware device id constant
...
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/hardware/iop3xx-adma.h | 12 | ||||
-rw-r--r-- | arch/arm/mach-u300/include/mach/coh901318.h | 2 |
2 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/include/asm/hardware/iop3xx-adma.h b/arch/arm/include/asm/hardware/iop3xx-adma.h index 1a8c7279a28b..9b28f1243bdc 100644 --- a/arch/arm/include/asm/hardware/iop3xx-adma.h +++ b/arch/arm/include/asm/hardware/iop3xx-adma.h | |||
@@ -366,8 +366,7 @@ static inline int iop_chan_xor_slot_count(size_t len, int src_cnt, | |||
366 | slot_cnt += *slots_per_op; | 366 | slot_cnt += *slots_per_op; |
367 | } | 367 | } |
368 | 368 | ||
369 | if (len) | 369 | slot_cnt += *slots_per_op; |
370 | slot_cnt += *slots_per_op; | ||
371 | 370 | ||
372 | return slot_cnt; | 371 | return slot_cnt; |
373 | } | 372 | } |
@@ -389,8 +388,7 @@ static inline int iop_chan_zero_sum_slot_count(size_t len, int src_cnt, | |||
389 | slot_cnt += *slots_per_op; | 388 | slot_cnt += *slots_per_op; |
390 | } | 389 | } |
391 | 390 | ||
392 | if (len) | 391 | slot_cnt += *slots_per_op; |
393 | slot_cnt += *slots_per_op; | ||
394 | 392 | ||
395 | return slot_cnt; | 393 | return slot_cnt; |
396 | } | 394 | } |
@@ -737,10 +735,8 @@ iop_desc_set_zero_sum_byte_count(struct iop_adma_desc_slot *desc, u32 len) | |||
737 | i += slots_per_op; | 735 | i += slots_per_op; |
738 | } while (len > IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT); | 736 | } while (len > IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT); |
739 | 737 | ||
740 | if (len) { | 738 | iter = iop_hw_desc_slot_idx(hw_desc, i); |
741 | iter = iop_hw_desc_slot_idx(hw_desc, i); | 739 | iter->byte_count = len; |
742 | iter->byte_count = len; | ||
743 | } | ||
744 | } | 740 | } |
745 | } | 741 | } |
746 | 742 | ||
diff --git a/arch/arm/mach-u300/include/mach/coh901318.h b/arch/arm/mach-u300/include/mach/coh901318.h index f4cfee9c7d28..b8155b4e5ffa 100644 --- a/arch/arm/mach-u300/include/mach/coh901318.h +++ b/arch/arm/mach-u300/include/mach/coh901318.h | |||
@@ -53,7 +53,7 @@ struct coh901318_params { | |||
53 | * struct coh_dma_channel - dma channel base | 53 | * struct coh_dma_channel - dma channel base |
54 | * @name: ascii name of dma channel | 54 | * @name: ascii name of dma channel |
55 | * @number: channel id number | 55 | * @number: channel id number |
56 | * @desc_nbr_max: number of preallocated descriptortors | 56 | * @desc_nbr_max: number of preallocated descriptors |
57 | * @priority_high: prio of channel, 0 low otherwise high. | 57 | * @priority_high: prio of channel, 0 low otherwise high. |
58 | * @param: configuration parameters | 58 | * @param: configuration parameters |
59 | * @dev_addr: physical address of periphal connected to channel | 59 | * @dev_addr: physical address of periphal connected to channel |