[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191220070517.xmo26ffufq7wjebb@gondor.apana.org.au>
Date: Fri, 20 Dec 2019 15:05:17 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Chuhong Yuan <hslester96@...il.com>
Cc: Jamie Iles <jamie@...ieiles.com>,
"David S . Miller" <davem@...emloft.net>,
linux-arm-kernel@...ts.infradead.org, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 resend] crypto: picoxcell: adjust the position of
tasklet_init and fix missed tasklet_kill
On Tue, Dec 10, 2019 at 12:21:44AM +0800, Chuhong Yuan wrote:
> Since tasklet is needed to be initialized before registering IRQ
> handler, adjust the position of tasklet_init to fix the wrong order.
>
> Besides, to fix the missed tasklet_kill, this patch adds a helper
> function and uses devm_add_action to kill the tasklet automatically.
>
> Fixes: ce92136843cb ("crypto: picoxcell - add support for the picoxcell crypto engines")
> Signed-off-by: Chuhong Yuan <hslester96@...il.com>
> ---
> Changes in v4:
> - Use devm_add_action instead of devm_add_action_or_reset.
>
> drivers/crypto/picoxcell_crypto.c | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists