19 Dec
2013
19 Dec
'13
2:03 p.m.
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.