dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk
authorIcenowy Zheng <icenowy@aosc.xyz>
Tue, 29 Aug 2017 04:51:26 +0000 (12:51 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 5 Sep 2017 03:37:20 +0000 (09:07 +0530)
commit0430a7c753744af746679a96026916b50908aafa
treebe2587556adbc90b39422011118e6f6358a88e3f
parenta3f406d6d1bb326b12a84bf028009e4cff59004d
dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

Originally we enable a special gate bit when the compatible indicates
A23/33.

But according to BSP sources and user manuals, more SoCs will need this
gate bit.

So make it a common quirk configured in the config struct.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c