PM / devfreq: exynos-bus: Fix the wrong return value
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 28 Dec 2016 11:52:36 +0000 (20:52 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:30 +0000 (14:33 +0900)
commit4b0b67d441238b16cfdff44da1ee6692c1d305a3
tree920d54637318f9ae592943e82e838af75e0cb941
parentcd458f79b091922ccff7688a826fb730c08cd9a9
PM / devfreq: exynos-bus: Fix the wrong return value

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.

Fixes: 403e0689d2a9 (PM / devfreq: exynos: Add support of bus frequency of sub-blocks using passive governor)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/devfreq/exynos-bus.c