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

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Jul 16, 2026 at 03:04:28PM +0700, [email protected] 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.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpqGUYACgkQJNaLcl1U
h9B1Hgf/bWXfVKSaE5JBoA3j+PG64cTla3/nYrx8RrjUC/e6gRUFm4d8KTu59+ma
MxCbJ7G6eApFECriuYrXl5gJzVANYYCOEDENkvhrwDa6OXd8gW116AZwPwUUjhau
K8v2iS6HVK2Y/UAbRiJsoy/EILKYuX4kovkHhyrJQN0BTSnoFbZa9kLI7N+Ec53+
pQok6L4TlalPYWzyw6zlSQca98TD6YmHdWJHv9SF8O6ZDqCod8lTadiq/Pk8D8z9
4U8AGCJgprx5FYkblNxRFszN3//O9wzYZkYXsQOwLG8XnF9CiUut6xLyegZi2MRG
UqzdcsWYBvjqDQ0BgWMBjQc0A1uelg==
=Mp9g
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.