msm: camera: sensor: Always stream-off at flush in standby mode
Issue: - In standby mode, aux sensor is streamed-off at flush only if stream-off command has already been received. - If flush happens before stream-off command, the sensor is never streamed off. This causes the next config command to fail. Fix: In standby mode, stream off sensor at flush regardless of the stream-off status. CRs-Fixed: 3537642 Change-Id: I15956d51dae4a30cdcabbe9d0ed59857c028218e Signed-off-by: Shravan Nevatia <quic_snevatia@quicinc.com> (cherry picked from commit d5c922710cea5c19a9bcabda946842ba47d920a5)
This commit is contained in:

کامیت شده توسط
Sridhar Gujje

والد
8a04130f3b
کامیت
0101ba0568
@@ -2050,7 +2050,7 @@ int32_t cam_sensor_flush_request(struct cam_req_mgr_flush_request *flush_req)
|
||||
* before EOF, so we need to stream off the sensor during flush
|
||||
* for VFPS usecase.
|
||||
*/
|
||||
if (s_ctrl->stream_off_after_eof && s_ctrl->is_stopped_by_user) {
|
||||
if (s_ctrl->stream_off_after_eof) {
|
||||
cam_sensor_stream_off(s_ctrl);
|
||||
s_ctrl->is_stopped_by_user = false;
|
||||
}
|
||||
|
مرجع در شماره جدید
Block a user