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

Commit 560a74d1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Clear correct priv bit in coresight disable"

parents 72fbcdf9 f53de484
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -180,7 +180,10 @@ static void adreno_coresight_disable(struct coresight_device *csdev,
		kgsl_active_count_put(device);
	}

	if (cs_id == GPU_CORESIGHT_GX)
		clear_bit(ADRENO_DEVICE_CORESIGHT, &adreno_dev->priv);
	else if (cs_id == GPU_CORESIGHT_CX)
		clear_bit(ADRENO_DEVICE_CORESIGHT_CX, &adreno_dev->priv);

	mutex_unlock(&device->mutex);
}