Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a324ce4 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Clean up the instance prior to destroying it



_destroy() is only present to reference manage the instance, and not
necessarily to house any logic.  Hence clean up the instance in
_close().

As a side-effect, it also fixes a bug where we send instance-related
commands to firmware after the instance was invalidated.  Hence if
firmware responds back, we ignore the reponses since we think that the
session is no longer valid.

Change-Id: Ia03af3ad9ef9251eddd03bf53ac46ff52bd051de
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 9f5234bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment