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

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

Merge "msm: cpp: Checking for validity of regulator pointers"

parents 2ca7d043 b72575d0
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -1192,11 +1192,15 @@ clk_failed:
	regulator_disable(cpp_dev->fs_cpp);
	regulator_put(cpp_dev->fs_cpp);
fs_failed:
	if (cpp_dev->fs_camss) {
		regulator_disable(cpp_dev->fs_camss);
		regulator_put(cpp_dev->fs_camss);
	}
fs_camss_failed:
	if (cpp_dev->fs_mmagic_camss) {
		regulator_disable(cpp_dev->fs_mmagic_camss);
		regulator_put(cpp_dev->fs_mmagic_camss);
	}
fs_mmagic_failed:
	if (cpp_dev->bus_master_flag)
		msm_cpp_deinit_bandwidth_mgr(cpp_dev);