Skip to content

Commit

Permalink
dma: edma: Declare DMA_SLAVE_BUSWIDTH_3_BYTES as supported buswidth
Browse files Browse the repository at this point in the history
eDMA can be configured for 3bytes word size for source and destination.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Jul 4, 2014
1 parent 75f850f commit e4a899d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/dma/edma.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ static void __init edma_chan_init(struct edma_cc *ecc,

#define EDMA_DMA_BUSWIDTHS (BIT(DMA_SLAVE_BUSWIDTH_1_BYTE) | \
BIT(DMA_SLAVE_BUSWIDTH_2_BYTES) | \
BIT(DMA_SLAVE_BUSWIDTH_3_BYTES) | \
BIT(DMA_SLAVE_BUSWIDTH_4_BYTES))

static int edma_dma_device_slave_caps(struct dma_chan *dchan,
Expand Down

0 comments on commit e4a899d

Please sign in to comment.