Re: [PATCH] ASoC: soc-generic-dmaengine: report DMA channel request failures more clearly

From: Mark Brown

Date: Wed Jul 29 2026 - 12:59:56 EST


On Thu, Jul 16, 2026 at 03:04:28PM +0700, phucduc.bui@xxxxxxxxx wrote:

> + if (device_property_match_string(dev, "dma-names", name) >= 0)
> + dev_warn(dev, "dma-names has '%s' but request failed (%ld)\n",
> + name, PTR_ERR(chan));
> +

This is going to generate warnings for unidirectional PCMs, if we don't
pass a name for a direction then a default will be provided and we'll
try to look it up even if it shouldn't exist.

Attachment: signature.asc
Description: PGP signature