diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2016-12-28 20:52:35 +0900 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-01-03 00:21:45 +0100 |
commit | 73613b16cb5c5d5a659fc8832eff99eead3f9afb (patch) | |
tree | 81346e17f4b5c66e0d449275feaa449619f95c55 /lib/decompress.c | |
parent | 9932ef3ca7f481af59d85cec6023fc7ff1588f04 (diff) | |
download | op-kernel-dev-73613b16cb5c5d5a659fc8832eff99eead3f9afb.zip op-kernel-dev-73613b16cb5c5d5a659fc8832eff99eead3f9afb.tar.gz |
PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
This patch fixes the bug of devfreq_add_device(). The devfreq device must
have the default governor. If find_devfreq_governor() returns error,
devfreq_add_device() fail to add the devfreq instance.
Fixes: 1b5c1be2c88e (PM / devfreq: map devfreq drivers to governor using name)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions