Skip to content

Commit

Permalink
dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20
Browse files Browse the repository at this point in the history
Update SH_DMAC_MAX_CHANNELS to support the 20 DMA
channels included in the sh73a0 SY-DMAC hardware.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 25, 2011
1 parent 300e5f9 commit d026e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/shdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <linux/interrupt.h>
#include <linux/list.h>

#define SH_DMAC_MAX_CHANNELS 6
#define SH_DMAC_MAX_CHANNELS 20
#define SH_DMA_SLAVE_NUMBER 256
#define SH_DMA_TCR_MAX 0x00FFFFFF /* 16MB */

Expand Down

0 comments on commit d026e00

Please sign in to comment.