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

From: Grant Likely
Date: Wed Feb 01 2012 - 19:10:09 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/