[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130731134215.GS2810@htj.dyndns.org>
Date: Wed, 31 Jul 2013 09:42:15 -0400
From: Tejun Heo <htejun@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Peter Chen <peter.chen@...escale.com>,
Fabio Estevam <festevam@...il.com>,
alexander.shishkin@...ux.intel.com, kernel@...gutronix.de,
linux-usb@...r.kernel.org,
Fabio Estevam <fabio.estevam@...escale.com>,
Jeff Garzik <jeff@...zik.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Mike Turquette <mturquette@...aro.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/2] chipidea: Use devm_request_irq()
Hello,
On Wed, Jul 31, 2013 at 02:27:08PM +0100, Mark Brown wrote:
> It's really only interrupts that affect most devices - if there's DMA or
> anything going on after the remove() then as you said earlier the driver
> is probably doing something wrong.
Hmmm... it depends on the specific driver is converted but if the
deactivation sequence - shutting down of command engine - is also
handled by devm as in libata and if you have non-devres resource free
in the exit path, you have the same problem. Again, in general,
tearing things down in the order which isn't the reverse of allocation
is a bad idea. Adhering to the order isn't that hard and will result
in far less craziness in the long term.
Thanks.
--
tejun
--
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