diff options
author | Bartlomiej Zolnierkiewicz <[email protected]> | 2013-12-20 19:47:23 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2014-01-11 01:26:48 +0100 |
commit | 118f5c1d5518032eec773164779f17d6e9b31586 (patch) | |
tree | ab28f6c671a547743186cda03e38148a63d8938a /net/lapb/lapb_out.c | |
parent | 88390996c95b879ba365888199b45ace3f5ca80b (diff) |
ARM: EXYNOS: cpuidle: fix AFTR mode check
The EXYNOS cpuidle driver code assumes that cpuidle core will handle
dev->state_count smaller than drv->state_count but currently this is
untrue (dev->state_count is used only for handling cpuidle state sysfs
entries and drv->state_count is used for all other cases) and will not
be fixed in the future as dev->state_count is planned to be removed.
Fix the issue by checking for the max supported idle state in AFTR
state's ->enter handler (exynos4_enter_lowpower()) and entering AFTR
mode only when cores other than CPU0 are offline.
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Acked-by: Kukjin Kim <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions