mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
52c74d3d35
Now the K3 UDMA glue layer enable functions perform RMW operation on UDMA
RX/TX RT_CTL registers to set EN bit and enable channel, which is
incorrect, because only EN bit has to be set in those registers to enable
channel (all other bits should be cleared 0).
More over, this causes issues when bootloader leaves UDMA channel RX/TX
RT_CTL registers in incorrect state - TDOWN bit set, for example. As
result, UDMA channel will just perform teardown right after it's enabled.
Hence, fix it by writing correct values (EN=1) directly in UDMA channel
RX/TX RT_CTL registers in k3_udma_glue_enable_tx/rx_chn() functions.
Fixes:
|
||
---|---|---|
.. | ||
cppi41.c | ||
dma-crossbar.c | ||
edma.c | ||
k3-psil-am654.c | ||
k3-psil-j721e.c | ||
k3-psil-j7200.c | ||
k3-psil-priv.h | ||
k3-psil.c | ||
k3-udma-glue.c | ||
k3-udma-private.c | ||
k3-udma.c | ||
k3-udma.h | ||
Kconfig | ||
Makefile | ||
omap-dma.c |