msm: kgsl: Make the gpubw governor immutable

The kgsl-busmon devfreq device is only set up to work with
the gpubw governor. So make it immutable to avoid unexpected
failures when re-assigning a different governor.

Change-Id: I545fa12efebf80aa38ff6270488f088fdaac2b84
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This commit is contained in:
Harshdeep Dhatt 2020-04-17 12:39:11 -06:00
commit 85dbbd221a

View file

@ -236,6 +236,7 @@ static struct devfreq_governor devfreq_gpubw = {
.name = "gpubw_mon",
.get_target_freq = devfreq_gpubw_get_target,
.event_handler = devfreq_gpubw_event_handler,
.immutable = 1,
};
static int __init devfreq_gpubw_init(void)