Re: [PATCH 1/3] platform: add common resource requesting and mapping helper

Grant Likely
2012-02-02T00:10:09Z

On Wed, Feb 01, 2012 at 12:56:42PM +0000, Mark Brown wrote:
> On Wed, Feb 01, 2012 at 10:11:10AM +0800, Barry Song wrote:
>
> > i think it makes sense for us to have platform_devm_request_irq() and
> > similar things. i'll take care.
>
> Note that this one is more tricky than most as it's really important
> that the interrupt handler can't be called when the data it needs and so
> on have been freed. With things like memory this really doesn't matter
> and you can happily free in any order.

Good point.

g.