UPSTREAM: cpuidle: Clean up fallback handling in cpuidle_idle_call()
Move the fallback code path in cpuidle_idle_call() to the end of the function to avoid jumping to a label in an if () branch. Signed-off-by:Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm br: linux-next (cherry picked from commit dfcacc154fb38fdb2c243c3dbbdc1f26a64cedc8) BUG=None TEST=1) Change power state of system to "freeze" 2) Use echo freeze > /sys/power/state 3) Check whether system wakes up on any interrupt(set rtc timer) Change-Id: I4b9af89afd369d302d27ad77672d1256f436b54d Signed-off-by:
Jay Patel <jay.p.patel@intel.com> Reviewed-on: https://chromium-review.googlesource.com/282860 Reviewed-by:
Eric Caruso <ejcaruso@chromium.org> Tested-by:
Prathyushi Nangia <prathyushi.nangia@intel.com>
Loading
Please register or sign in to comment