Commit ff9658d7049bf8c8e8e0a05dbe5e9f7e91aa5a5d
Committed by
Kim Phillips
1 parent
66dc2c2dc5
Exists in
master
and in
54 other branches
mpc83xx: Fix the align bug of SDMA buffer
According to the latest user manual, the SDMA temporary buffer base address must be 4KB aligned. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
drivers/qe/qe.c
... | ... | @@ -98,7 +98,7 @@ |
98 | 98 | out_be32(&p->sdaqmr, 0); |
99 | 99 | |
100 | 100 | /* Allocate 2KB temporary buffer for sdma */ |
101 | - sdma_buffer_base = qe_muram_alloc(2048, 64); | |
101 | + sdma_buffer_base = qe_muram_alloc(2048, 4096); | |
102 | 102 | out_be32(&p->sdwbcr, sdma_buffer_base & QE_SDEBCR_BA_MASK); |
103 | 103 | |
104 | 104 | /* Clear sdma status */ |
drivers/qe/qe.h