Commit 15f7a4c6 authored by John Allen's avatar John Allen Committed by Herbert Xu
Browse files

crypto: ccp - Cleanup sp_dev_master in psp_dev_destroy()

Introduce clear_psp_master_device() to ensure that sp_dev_master gets
properly cleared on the release of a psp device.

Fixes: 2a6170df

 ("crypto: ccp: Add Platform Security Processor (PSP) device support")
Signed-off-by: default avatarJohn Allen <john.allen@amd.com>
Acked-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1f14b57f
Supports Markdown
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