msm: vidc: Driver cleanup on receiving SYS error

SYS errors reported by firmware are handled properly
and reported to client. On receiving SYS error client
tries to close the driver. Cleanup in such scenarios
was not proper. This change fixes that.

CRs-fixed: 420316
Change-Id: Ied7303bc2ecf4def6241dc7a37eceb1265417c2e
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
4 files changed