OpenCloudOS-Kernel/drivers/devfreq
Krzysztof Kozlowski 8fc0e48e0f PM / devfreq: Use lockdep asserts instead of manual checks for locked mutex
Instead of warning when mutex_is_locked(), just use the lockdep
framework.  The code is smaller and checks could be disabled for
production environments (it is useful only during development).

Put asserts at beginning of function, even before validating arguments.

The behavior of update_devfreq() is now changed because lockdep assert
will only print a warning, not return with EINVAL.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2020-05-28 18:02:40 +09:00
..
event
Kconfig PM / devfreq: Add generic imx bus scaling driver 2020-05-28 18:02:39 +09:00
Makefile PM / devfreq: Add generic imx bus scaling driver 2020-05-28 18:02:39 +09:00
devfreq-event.c
devfreq.c PM / devfreq: Use lockdep asserts instead of manual checks for locked mutex 2020-05-28 18:02:40 +09:00
exynos-bus.c
governor.h
governor_passive.c
governor_performance.c
governor_powersave.c
governor_simpleondemand.c
governor_userspace.c
imx-bus.c PM / devfreq: imx-bus: Fix inconsistent IS_ERR and PTR_ERR 2020-05-28 18:02:40 +09:00
imx8m-ddrc.c
rk3399_dmc.c
tegra20-devfreq.c
tegra30-devfreq.c