Files
kernel_google_wahoo/arch/mips
Aleksander Jan Bajkowski 697d99fb48 MIPS: lantiq: dma: reset correct number of channel
[ Upstream commit 5ca9ce2ba4d5884cd94d1a856c675ab1242cd242 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:58:37 +01:00
..
2018-09-26 08:35:05 +02:00
2015-11-11 08:38:37 +01:00
2019-03-23 08:44:16 +01:00
2018-09-26 08:35:06 +02:00
2015-08-26 15:23:03 +02:00
2020-09-23 08:44:27 +02:00
2015-11-11 08:36:36 +01:00
2021-02-10 09:07:27 +01:00
2021-08-15 12:59:54 +02:00