android_kernel_samsung_a7y1.../drivers/cpuidle
Zhenzhong Duan 2d2bb282d1 cpuidle: Do not unset the driver if it is there already
commit 918c1fe9fbbe46fcf56837ff21f0ef96424e8b29 upstream.

Fix __cpuidle_set_driver() to check if any of the CPUs in the mask has
a driver different from drv already and, if so, return -EBUSY before
updating any cpuidle_drivers per-CPU pointers.

Fixes: 82467a5a885d ("cpuidle: simplify multiple driver support")
Cc: 3.11+ <stable@vger.kernel.org> # 3.11+
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:07:18 +02:00
..
governors A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
coupled.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-arm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-at91.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-big_little.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-calxeda.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-clps711x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-cps.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-exynos.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-exynos64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-kirkwood.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-mvebu-v7.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-powernv.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-pseries.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-ux500.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle-zynq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
driver.c cpuidle: Do not unset the driver if it is there already 2020-04-07 13:07:18 +02:00
dt_idle_states.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dt_idle_states.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
governor.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.arm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.mips A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.powerpc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30