On Wed, 25 Sep 2013, Sachin Kamat wrote: > On 25 September 2013 13:07, Wei Yongjun <weiyj...@gmail.com> wrote: > > From: Wei Yongjun <yongjun_...@trendmicro.com.cn> > > > > - devm_free_irq(&client->dev, twl6040->irq_ready, twl6040); > > - devm_free_irq(&client->dev, twl6040->irq_th, twl6040); > > regmap_del_irq_chip(twl6040->irq, twl6040->irq_data); > > Now that the freeing of irq will happen after regmap_del_irq_chip, > wouldn't this cause any ordering related issues?
I don't believe there is a requirement to free all associated IRQs before deleting an irqchip. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/