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

Commit de3c997e authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

msm: thermal: Update KTM to free the vdd restriction rails



Update KTM to free the vdd restriction rails data structure
during module exit.

Change-Id: I09f760ecbf682dae484310fceae4793e17ab1d7b
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 573dd1a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7039,6 +7039,7 @@ static int msm_thermal_dev_exit(struct platform_device *inp_dev)
					r->device_handle[i] = NULL;
				}
			}
			kfree(rails);
		}
		if (cx_phase_ctrl_enabled) {
			sensor_mgr_remove_threshold(