Patch "PM / devfreq: exynos-bus: Fix the wrong return value" has been added to the 4.9-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
PM / devfreq: exynos-bus: Fix the wrong return value
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
pm-devfreq-exynos-bus-fix-the-wrong-return-value.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
32dd7731699765f21dbe6df9020e613d4ed73fc3Mon Sep 17 00:00:00 2001
From: Chanwoo Choi <[email protected]>
Date: Wed, 28 Dec 2016 20:52:36 +0900
Subject: PM / devfreq: exynos-bus: Fix the wrong return value
From: Chanwoo Choi <[email protected]>
commit 32dd7731699765f21dbe6df9020e613d4ed73fc3 upstream.
This patch fixes the wrong return value. If devfreq driver requires the wrong and non-available governor, it is fail. So, this patch returns the error insead of -EPROBE_DEFER.
--- drivers/devfreq/exynos-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/exynos-bus.c +1 -1
@@ -498,7 +498,7 @@ passive:if (IS_ERR (bus->devfreq)) {dev_err (dev,"failed to add devfreq dev with passive governor\n" ); - ret = -EPROBE_DEFER ; + ret =PTR_ERR (bus->devfreq); goto err; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/clocksource-exynos_mct-clear-interrupt-when-cpu-is-shut-down.patch queue-4.9/pm-devfreq-fix-the-bug-of-devfreq_add_device-when-governor-is-null.patch queue-4.9/pm-devfreq-exynos-bus-fix-the-wrong-return-value.patch