[alsa-devel] [PATCH v3 1/9] ASoC: fsl-ssi: Fix probe error handling
Mark Brown
broonie at kernel.org
Thu Dec 19 14:03:34 CET 2013
On Wed, Dec 18, 2013 at 12:57:37PM +0100, Markus Pargmann wrote:
> This patch fixes the error handling in the fsl-ssi probe function.
This doesn't apply against current code, please check and resend.
> error_irqmap:
> - irq_dispose_mapping(ssi_private->irq);
> + if (ssi_private->use_dma && !of_device_is_compatible(pdev->dev.of_node,
> + "fsl,imx21-ssi"))
> + irq_dispose_mapping(ssi_private->irq);
This test is icky, a flag set when we create the mapping would be neter.
-------------- 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/20131219/d4b71001/attachment.sig>
More information about the Alsa-devel
mailing list