* PGP Signed by an unknown key
On Tue, Jul 17, 2012 at 10:12:39AM +0530, Laxman Dewangan wrote:On Tuesday 17 July 2012 01:31 AM, Mark Brown wrote:On Mon, Jul 16, 2012 at 12:21:45PM +0530, Laxman Dewangan wrote:
I think device_remove will get called before the managed resourceThat would be very rude if the IRQ happened to get shared, though that's
get freed.
So do we need to call disable_irq() in remove() to avoid any interrupts?
not possible at the moment. In general it's pretty hard to use devm_
IRQs safely, it's normally safest to avoid them due to the issues with
ensuring that the interrupt handler is safe to be called even while the
device is being torn down.