Aleksander Jan Bajkowski a244da2984 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-18 19:16:09 +01:00
..
2021-10-15 18:06:32 -07:00
2021-10-26 15:24:33 -07:00
2021-11-18 19:16:02 +01:00
2021-09-24 13:35:07 +02:00
2021-10-30 09:28:24 -07:00
2021-10-31 11:19:02 -07:00