dmaengine: edma: predecence bug in GET_NUM_QDMACH()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Nov 2015 13:38:31 +0000 (16:38 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Nov 2015 03:37:35 +0000 (09:07 +0530)
commitf5ea7ad252452f0b461e04a0d0e468f1f6ad8b3b
tree67707c3b0712600e880551df70b1d77c36f39768
parent638bdc8ce845285e1112f4870aded1638187fc98
dmaengine: edma: predecence bug in GET_NUM_QDMACH()

The current code uses bits 0-2 instead of 4-6 as the comment says.

Fixes: 633e42b8c546 ('dmaengine: edma: Get qDMA channel information from HW also')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c