[PATCH] clk: sunxi-ng: sun5i: Fix ahb_bist_clk definition

Chen-Yu Tsai wens at csie.org
Thu May 25 00:48:46 PDT 2017


On Thu, May 25, 2017 at 12:34 AM, Boris Brezillon
<boris.brezillon at free-electrons.com> 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 at vger.kernel.org
> Reported-by: Angus Ainslie <angus at akkea.ca>
> Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Reviewed-by: Chen-Yu Tsai <wens at csie.org>



More information about the linux-arm-kernel mailing list