Re: [PATCH v2] crypto: caam - add missing put_device() call
From: Horia Geanta
Date: Mon Feb 11 2019 - 02:48:23 EST
On 2/9/2019 8:31 AM, Wen Yang wrote:
> The of_find_device_by_node() takes a reference to the underlying device
> structure, we should release that reference.
>
> Fixes: 35af64038623 ("crypto: caam - Check for CAAM block presence before registering with crypto layer")
> Signed-off-by: Wen Yang <yellowriver2010@xxxxxxxxxxx>
> ---
> v2->v1: This patch also fixes caamalg.c, caampkc.c and caamrng.c.
>
caamalg_qi.c is also affected, could you please include it?
Thanks,
Horia