msm: vidc: Release resources only if they are loaded
Video driver spams error logs if we try to release resources,
without moving to load resources state first. This usecase is
usually observed if v4l2 client opens the driver fd and closes it
immediately.
Change-Id: If9b9166abc1429876a2c05de6ea6193afa7b279c
Signed-off-by:
Arun Menon <avmenon@codeaurora.org>
Loading
Please register or sign in to comment