msm: camera: Add state support for streamon without release
Sensor should start streamon from acquire and config state, in case
of dual camera usecase. At the time of start session INIT/RES config
packets are received to both sensors, but in the same session switching
between different sensor will not be getting INIT/RES setting. Adding
acquire state as a valid state to streamon will allow sensor to start
streamon. Update the config state as valid state to release flash
device, as there can be usecase where flash is called release after
changing to config state and before start. Also, changing return code
to 0, when sensor/flash is getting NOP/Update packets between stop and
release device.
Change-Id: Ie27d9793a1dc71bc776e2322a9fd635bbf578fd0
Signed-off-by:
Jigarkumar Zala <jzala@codeaurora.org>
Loading
Please register or sign in to comment