[PATCH 2/2] chipidea: Use devm_request_irq()
From: broonie@kernel.org (Mark Brown)
Date: 2013-07-31 13:27:25
Also in:
lkml
From: broonie@kernel.org (Mark Brown)
Date: 2013-07-31 13:27:25
Also in:
lkml
On Wed, Jul 31, 2013 at 07:55:27AM -0400, Tejun Heo wrote:
If you have DMA / IRQ / command engine deactivations in devm path which often is the case with full conversions, freeing any resources including DMA areas and host private data in the wrong order is a horrible idea. It's worse as it won't really be noticeable in most cases.
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130731/cd025781/attachment.sig>