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

Commit 5d8bb957 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Set busmon driver data



This links the busmon devfreq device to kgsl device
which is de-referenced in kgsl_busmon_target() in
order to propagate bus votes.

Change-Id: I1ac3f81e546e3fd6be6051a202e0d49db07978ee
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 4310e6ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2010-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2010-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/devfreq_cooling.h>
@@ -685,6 +685,7 @@ static void pwrscale_busmon_create(struct kgsl_device *device,
	dev->parent = &pdev->dev;

	dev_set_name(dev, "kgsl-busmon");
	dev_set_drvdata(dev, device);
	if (device_register(dev))
		return;