Re: [PATCH v3 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove
From: Sergei Shtylyov
Date: Tue Apr 23 2019 - 10:44:23 EST
On 04/23/2019 05:14 PM, Jiada Wang wrote:
> Currently IRQ is remain enabled after .remove, later if device is probed,
IRQ remains enabled.
> IRQ is requested before .thermal_init, this may cause IRQ function be
> called before device is initialized.
>
> this patch by disable interrupt in .remove, to ensure irq function
s/by disable/disables/.
> only be called after device is fully initialized.
>
> Signed-off-by: Jiada Wang <jiada_wang@xxxxxxxxxx>
[...]
MBR, Sergei