summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorYaxiong Tian <tianyaxiong@kylinos.cn>2026-04-30 11:20:35 +0800
committerChanwoo Choi <cw00.choi@samsung.com>2026-08-22 19:27:11 +0900
commit9a222650d9e70d0027126e4df5b00b1b5b678a97 (patch)
tree23addc5f7e72a57c03350684719ab865b5a2a282 /scripts/objdiff
parentd0d288caaae9c4d43adb2ce00ed6f8f00b43c523 (diff)
downloadlinux-next-9a222650d9e70d0027126e4df5b00b1b5b678a97.tar.gz
linux-next-9a222650d9e70d0027126e4df5b00b1b5b678a97.zip
PM / devfreq: Fix governor_store() failing when device has no current governor
Since devfreq_remove_governor() may clear the device's current governor in certain situations, while governors actually exist independently of the device, directly returning EINVAL in this case is inaccurate. To fix this issue, remove this check and add relevant logic for when df->governor is NULL. Fixes: 483d557ee9a3 ("PM / devfreq: Clean up the devfreq instance name in sysfs attr") Co-developed-by: Choi Chanwoo <cwchoi00@gmail.com> Signed-off-by: Yaxiong Tian <tianyaxiong@kylinos.cn> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Link: https://lore.kernel.org/all/20260430032035.75496-1-tianyaxiong@kylinos.cn/
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions