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

Commit 33938e12 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: soc: Avoid calling bus clear pdata"

parents 74f298e6 ad35a18f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1040,8 +1040,11 @@ uint32_t msm_camera_unregister_bus_client(enum cam_bus_client id)

	mutex_destroy(&g_cv[id].lock);
	msm_bus_scale_unregister_client(g_cv[id].bus_client);
	msm_bus_cl_clear_pdata(g_cv[id].pdata);
	memset(&g_cv[id], 0, sizeof(struct msm_cam_bus_pscale_data));
	g_cv[id].bus_client = 0;
	g_cv[id].num_usecases = 0;
	g_cv[id].num_paths = 0;
	g_cv[id].vector_index = 0;
	g_cv[id].dyn_vote = 0;

	return 0;
}