Re: [PATCH 2/6] ASoC: sunxi: sun4i-codec: Drop redundant error messages
From: Bui Duc Phuc
Date: Thu Jul 16 2026 - 22:43:59 EST
Hi all,
Actually, following our discussion about dma_request_chan() not always
printing error logs internally, I did some further investigation into
the code paths and have submitted two patches to address the underlying
issues more comprehensively:
1. A patch for dma_request_chan() itself to prevent potential NULL pointer
dereferences on invalid arguments:
https://lore.kernel.org/all/20260716052758.23465-1-phucduc.bui@xxxxxxxxx/
2. A patch to improve the error handling flow inside
dmaengine_pcm_request_chan_of() when calling dma_request_chan():
https://lore.kernel.org/all/20260716080428.57979-1-phucduc.bui@xxxxxxxxx/
I wanted to share this here to provide more context on the proposed changes to
these DMA engine error-handling flows.
Best regards,
Phuc