[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190424092339.7a3ahaiij2qnuwh5@verge.net.au>
Date: Wed, 24 Apr 2019 11:23:39 +0200
From: Simon Horman <horms@...ge.net.au>
To: Jiada Wang <jiada_wang@...tor.com>
Cc: rui.zhang@...el.com, edubezval@...il.com,
daniel.lezcano@...aro.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
niklas.soderlund+renesas@...natech.se, geert+renesas@...der.be,
sergei.shtylyov@...entembedded.com, marek.vasut+renesas@...il.com,
kuninori.morimoto.gx@...esas.com, hien.dang.eb@...esas.com,
fabrizio.castro@...renesas.com, dien.pham.ry@...esas.com,
biju.das@...renesas.com, erosca@...adit-jv.com,
george_davis@...tor.com, joshua_frkuska@...tor.com
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@...tor.com>
Reviewed-by: Simon Horman <horms+renesas@...ge.net.au>
Powered by blists - more mailing lists