Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cfa3553 authored by Suresh Vankadara's avatar Suresh Vankadara Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: csiphy: reset phy lane configs on shutdown" into dev/msm-4.14-camx

parents 6bfa92e6 49787d94
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -601,6 +601,11 @@ void cam_csiphy_shutdown(struct csiphy_device *csiphy_dev)
	csiphy_dev->acquire_count = 0;
	csiphy_dev->start_dev_count = 0;
	csiphy_dev->csiphy_state = CAM_CSIPHY_INIT;

	/* reset csiphy info */
	csiphy_dev->csiphy_info.lane_mask = 0;
	csiphy_dev->csiphy_info.lane_cnt = 0;
	csiphy_dev->csiphy_info.combo_mode = 0;
}

static int32_t cam_csiphy_external_cmd(struct csiphy_device *csiphy_dev,