On Thu, May 25, 2017 at 12:34 AM, Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> wrote: > AHB BIST gate is actually controlled with bit 7. > > This bug was detected while trying to use the NAND controller which is > using the DMA engine to transfer data to the NAND. > Since the ahb_bist_clk gate bit conflicts with the ahb_dma_clk gate bit, > the core was disabling the DMA engine clock as part of its 'disable > unused clks' procedure, which was causing all DMA transfers to fail after > this point. > > Fixes: 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver") > Cc: stable@xxxxxxxxxxxxxxx > Reported-by: Angus Ainslie <angus@xxxxxxxx> > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxx>