Thread (18 messages) flat view 18 messages, 7 authors, 2014-12-01

Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: free irq before irq_dispose_mapping()

From: Timur Tabi <hidden>
Date: 2014-12-01 16:52:03
Also in: alsa-devel, lkml

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help