tzcom: Unload tzapp on closing the device handle

In a scenario where the client application crashes, tzapps is left
running on the secure domain.  When a client application crashes,
the tzapp (loaded during open) needs to be unloaded to clean off
the tzapps state machine.

Change-Id: If0a14667c5d49e066bd777c2b1389915595f32aa
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
1 file changed