[alsa-devel] [PATCH] ASoC: dmaengine: add runtime status checking in dmaengine_pcm_dma_complete

Mark Brown broonie at kernel.org
Mon Jun 10 11:30:43 CEST 2013


On Sat, Jun 08, 2013 at 04:34:02PM +0800, Qiao Zhou wrote:

> This call back only takes substream as parameter. In case that a
> wrong/fake interrupt of other drivers triggers this call back, like
> a careless/bad design, then it panics in audio driver. Can we add
> such checking and give a warning log rather than to let the system
> die directly. Could you consider it?

Why not fix the problem in the paths that do the teardown instead?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130610/2cd65e2d/attachment.sig>


More information about the Alsa-devel mailing list