[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <547C9CAD.1000008@tabi.org>
Date: Mon, 01 Dec 2014 10:51:57 -0600
From: Timur Tabi <timur@...i.org>
To: Lars-Peter Clausen <lars@...afoo.de>,
Markus Pargmann <mpa@...gutronix.de>,
Jiada Wang <jiada_wang@...tor.com>
CC: alsa-devel@...a-project.org, lgirdwood@...il.com, tiwai@...e.de,
Li.Xiubo@...escale.com, nicoleotsuka@...il.com, broonie@...nel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: free irq before irq_dispose_mapping()
On 12/01/2014 10:49 AM, Lars-Peter Clausen wrote:
> The driver creates the mapping by calling irq_of_parse_and_map(), so it
> also has to dispose the mapping. But the easy way out is to simply use
> platform_get_irq() instead of irq_of_parse_map(). In this case the
> mapping is not managed by the device but by the of core, so the device
> has not to dispose the mapping.
Is this a problem unique to the SSI driver? Maybe devm_free_irq()
should also dispose of the mapping?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists