Messages in this thread | | | Date | Wed, 24 Apr 2019 11:23:39 +0200 | From | Simon Horman <> | Subject | Re: [PATCH v4 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove |
| |
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 ensure irq function > only be called after device is fully initialized. > > Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
| |