Re: [PATCH v4 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove

2019-04-24 Thread Eugeniu Rosca
On Wed, Apr 24, 2019 at 02:11:45PM +0900, Jiada Wang wrote: > Currently IRQ remains enabled after .remove, later if device is probed, > IRQ is requested before .thermal_init, this may cause IRQ function be > called before device is initialized. > > this patch disables interrupt in .remove, to

Re: [PATCH v4 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove

2019-04-24 Thread Daniel Lezcano
On 24/04/2019 07:11, Jiada Wang wrote: > Currently IRQ remains enabled after .remove, later if device is probed, > IRQ is requested before .thermal_init, this may cause IRQ function be > called before device is initialized. > > this patch disables interrupt in .remove, to ensure irq function >

Re: [PATCH v4 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove

2019-04-24 Thread Simon Horman
On Wed, Apr 24, 2019 at 02:11:45PM +0900, Jiada Wang wrote: > Currently IRQ remains enabled after .remove, later if device is probed, > IRQ is requested before .thermal_init, this may cause IRQ function be > called before device is initialized. > > this patch disables interrupt in .remove, to

[PATCH v4 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove

2019-04-23 Thread Jiada Wang
Currently IRQ remains enabled after .remove, later if device is probed, IRQ is requested before .thermal_init, this may cause IRQ function be called before device is initialized. this patch disables interrupt in .remove, to ensure irq function only be called after device is fully initialized.