]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: tee_bnxt: Fix multiple call to tee_client_close_context
authorVikas Gupta <vikas.gupta@broadcom.com>
Mon, 6 Jan 2020 06:24:02 +0000 (11:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:51:37 +0000 (13:51 -0800)
commit6aa3ae5c3bc0600b84712a20705cf12cfc0869f0
tree527bcfe958a571f8b2654778871ea963efefea8f
parent67ecf70b4686c8a069899cf850128b8f7b4656fb
firmware: tee_bnxt: Fix multiple call to tee_client_close_context

Fix calling multiple tee_client_close_context in case of shm allocation
fails.

Fixes: b9d244ae05c1 (“firmware: broadcom: add OP-TEE based BNXT f/w manager”)
Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/firmware/broadcom/tee_bnxt_fw.c