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

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

Merge "msm : kgsl: Fix clk_unprepare() ref count issue"

parents 041b9b3d 60ad9ca0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2035,7 +2035,9 @@ static void _gpu_clk_prepare_enable(struct kgsl_device *device,
{
	int ret;

	if (device->state == KGSL_STATE_NAP) {
	if (device->state == KGSL_STATE_NAP ||
		device->state == KGSL_STATE_DEEP_NAP) {

		ret = clk_enable(clk);
		if (ret)
			goto err;