]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/dma/sun6i-dma.c
dmaengine: sun6i: Fix the access of the IRQ register
authorJean-Francois Moine <moinejf@free.fr>
Fri, 22 Apr 2016 06:14:33 +0000 (08:14 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 26 Apr 2016 03:39:28 +0000 (09:09 +0530)
commit128fe7e9a0b99da1d7346528526bd424f705774b
tree084273a5dc765353ecda9e3eff10c439b61bea9e
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
dmaengine: sun6i: Fix the access of the IRQ register

The IRQ register number is computed, but this number was not used
and the register was the one indexed by the channel index instead.
Then, only the first DMA channel was working.

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c