Loading
msm: camera: Do stream deletion properly.
when mediaserver crashes we are getting error that
__msm_destroy_session_streams: Error: Destroyed
list is not empty.
The order of stream_id for normal camera close is
1,2,3,4,0.When mediaserver crashes stream id order
is 0,1,2,3,4.stream id 4 is coming in the last and
when pvdev->opened is 0 we are not deleting the
stream.Added stream_delete when pvdev->opened is 0.
Change-Id: I22eaa8bd485e19605b9b69e86644f68ce209e808
Signed-off-by:
Manish Poddar <mpoddar@codeaurora.org>