]> git.hungrycats.org Git - linux/commit
ASoC: soc-generic-dmaengine: Fix DMA channel request warning
authorbui duc phuc <phucduc.bui@gmail.com>
Tue, 25 Aug 2026 08:19:49 +0000 (15:19 +0700)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2026 13:14:09 +0000 (14:14 +0100)
commit84d2d96ac3f1bb467aca65adf2c19431e6eeb151
tree5c7610e55a918b415d8c6081bebe847686a8c8ac
parentfd8ed52ecea6b93e23d52cb2758fb4fb4029067f
ASoC: soc-generic-dmaengine: Fix DMA channel request warning

The DMA channel request code currently warns about legacy DMA failures
when the channel name is not present in dma-names. This can report a
firmware lookup failure as a legacy DMA failure.

Furthermore, failures from the legacy DMA path are already reported by
find_candidate(), making these warnings redundant.

Only warn when the channel name is present in dma-names but the request
fails, avoiding misleading and duplicate error messages.

Fixes: 9167f260477b ("ASoC: soc-generic-dmaengine: Handle DMA channel request failures correctly")
Reported-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/all/aoyBuho270dTWYBL@jupiter.universe/
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260825081949.55537-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-generic-dmaengine-pcm.c