Re: [PATCH 2/2] mfd: fsl-imx25: clean up irq settings during removal

2017-09-18 Thread Lee Jones
On Thu, 14 Sep 2017, Martin Kaiser wrote: > Thus wrote Lee Jones (lee.jo...@linaro.org): > > > On Tue, 12 Sep 2017, Martin Kaiser wrote: > > > > When fsl-imx25-tsadc is compiled as a module, unloading and reloading > > > the module will lead to a crash. > > > > Add a removal function which clea

Re: [PATCH 2/2] mfd: fsl-imx25: clean up irq settings during removal

2017-09-14 Thread Martin Kaiser
Thus wrote Lee Jones (lee.jo...@linaro.org): > On Tue, 12 Sep 2017, Martin Kaiser wrote: > > When fsl-imx25-tsadc is compiled as a module, unloading and reloading > > the module will lead to a crash. > > Add a removal function which clears the irq handler and removes the irq > > domain. With thi

Re: [PATCH 2/2] mfd: fsl-imx25: clean up irq settings during removal

2017-09-14 Thread Lee Jones
On Tue, 12 Sep 2017, Martin Kaiser wrote: > When fsl-imx25-tsadc is compiled as a module, unloading and reloading > the module will lead to a crash. > > Add a removal function which clears the irq handler and removes the irq > domain. With this cleanup in place, it's possible to unload and reload

[PATCH 2/2] mfd: fsl-imx25: clean up irq settings during removal

2017-09-12 Thread Martin Kaiser
When fsl-imx25-tsadc is compiled as a module, unloading and reloading the module will lead to a crash. Add a removal function which clears the irq handler and removes the irq domain. With this cleanup in place, it's possible to unload and reload the module. Signed-off-by: Martin Kaiser --- driv