dmaengine: dw-axi-dmac: Fix CH_CFG2_H_PRIORITY_POS shift macro
Subsystems (2)
PATCH 1/1 dmaengine: dw-axi-dmac: Fix CH_CFG2_H_PRIORITY_POS shift macro
CH_PRIOR field is located in CH_CFG2 bits [51:47]. So its shift in CH_CFG2_H_ is 15. Correct it.
Fixes 824351668a41 ("dmaengine: dw-axi-dmac: support DMAX_NUM_CHANNELS > 8")
Cc Pandith N <[email protected]>
Signed-off-by Changhuang Liang <[email protected]>
--- drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/dw-axi-dmac/dw-axi-dmac.h +1 -1
@@ -326,7 +326,7 @@ enum {#define CH_CFG2_H_TT_FC_POS 0#define CH_CFG2_H_HS_SEL_SRC_POS 3#define CH_CFG2_H_HS_SEL_DST_POS 4 -#define CH_CFG2_H_PRIORITY_POS 20 +#define CH_CFG2_H_PRIORITY_POS 15/** * DW AXI DMA channel interrupts
--
2.25.1