OpenCloudOS-Kernel/arch
Aleksander Jan Bajkowski 5ca9ce2ba4 MIPS: lantiq: dma: reset correct number of channel
Different SoCs have a different number of channels, e.g .:
* amazon-se has 10 channels,
* danube+ar9 have 20 channels,
* vr9 has 28 channels,
* ar10 has 24 channels.

We can read the ID register and, depending on the reported
number of channels, reset the appropriate number of channels.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-15 11:02:01 +01:00
..
alpha Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
arc Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
arm Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
arm64 ARM: 2021-09-07 13:40:51 -07:00
csky Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
h8300 asm-generic changes for 5.15 2021-09-01 15:13:02 -07:00
hexagon Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
ia64 Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
m68k Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
microblaze Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
mips MIPS: lantiq: dma: reset correct number of channel 2021-09-15 11:02:01 +01:00
nds32 Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
nios2 Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
openrisc Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
parisc Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
powerpc ARM: 2021-09-07 13:40:51 -07:00
riscv Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
s390 ARM: 2021-09-07 13:40:51 -07:00
sh Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
sparc Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
um Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
x86 ARM: 2021-09-07 13:40:51 -07:00
xtensa Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
.gitignore
Kconfig Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00