dma: ti: k3-udma: Fix BCDMA probe by adding check for MMR_RFLOW
authorPrasanth Babu Mantena <p-mantena@ti.com>
Wed, 18 Dec 2024 13:00:45 +0000 (18:30 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 31 Dec 2024 13:53:17 +0000 (07:53 -0600)
commite7713a78829250b925d6377ee26c7b0745727feb
treecdb813b4171d28b1badcfcc5031be73dd4ced468
parent4be40460758057b9a85b0303dc072c108813cdf6
dma: ti: k3-udma: Fix BCDMA probe by adding check for MMR_RFLOW

RFLOW config related MMR does not exist incase of BCDMA.
Add check to bypass the RFLOW MMR extraction.
Without this, the probe sequence fails checking for
the MMR_RFLOW region, which is valid only for packet based
DMA and obselete for BCDMA.

Fixes: 5abb694d6016 ("dma: ti: k3-udma: Add support for native configuration of chan/flow")
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
Tested-by: Jonathan Humphreys <j-humphreys@ti.com>
drivers/dma/ti/k3-udma.c