]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Jan 2017 23:21:45 +0000 (00:21 +0100)
commit32dd7731699765f21dbe6df9020e613d4ed73fc3
treefdcf75c6c6e2d8dec72beb411472f02c050b1f95
parent73613b16cb5c5d5a659fc8832eff99eead3f9afb
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