Skip to content
Commit 00e87449 authored by Wen Yang's avatar Wen Yang Committed by Herbert Xu
Browse files

crypto: caam - add missing put_device() call



The of_find_device_by_node() takes a reference to the underlying device
structure, we should release that reference.

Fixes: 35af6403 ("crypto: caam - Check for CAAM block presence before registering with crypto layer")
Fixes: b189817c ("crypto: caam/qi - add ablkcipher and authenc algorithms")
Reviewed-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarWen Yang <yellowriver2010@hotmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent aa1abbe0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment