[Samsung Galaxy Nexus] aosp:
[MENTION=3685904]ak[/MENTION] [MENTION=4608636]bsmitty83[/MENTION]

Must press power button multiple times to wake up the phone bug remains on v6

<3>[ 3955.851562] BUG: sleeping function called from invalid context at kernel/mutex.c:85

<3>[ 3955.851593] in_atomic(): 1, irqs_disabled(): 128, pid: 16261, name: kworker/u:4

<4>[ 3955.851593] Backtrace:

<4>[ 3955.851654] [<a0063840>] (dump_backtrace+0x0/0x10c) from [<a069862c>] (dump_stack+0x18/0x1c)

<4>[ 3955.851684] r6:000723e9 r5:00000055 r4:c809e000 r3:600d0193

<4>[ 3955.851715] [<a0698614>] (dump_stack+0x0/0x1c) from [<a00a1700>] (__might_sleep+0xf8/0x114)

<4>[ 3955.851776] [<a00a1608>] (__might_sleep+0x0/0x114) from [<a069fd14>] (mutex_lock+0x20/0x94)

<4>[ 3955.851776] r6:a08dbe10 r5:00000000 r4:a09fe0ec

<4>[ 3955.851837] [<a069fcf4>] (mutex_lock+0x0/0x94) from [<a04a2f3c>] (cpufreq_governor_interactive+0x268/0x3b0)

<4>[ 3955.851837] r4:d00d0e40 r3:a04a2cd4

<4>[ 3955.851867] [<a04a2cd4>] (cpufreq_governor_interactive+0x0/0x3b0) from [<a0492eac>] (__cpufreq_governor+0xc4/0x1c8)

<4>[ 3955.851928] [<a0492de8>] (__cpufreq_governor+0x0/0x1c8) from [<a04947b0>] (__cpufreq_remove_dev+0x1d0/0x2c0)

<4>[ 3955.851959] [<a04945e0>] (__cpufreq_remove_dev+0x0/0x2c0) from [<a06982c8>] (cpufreq_cpu_callback+0x90/0xa0)

<4>[ 3955.851989] [<a0698238>] (cpufreq_cpu_callback+0x0/0xa0) from [<a00dbb80>] (notifier_call_chain+0x54/0xd8)

<4>[ 3955.851989] r6:a0934a58 r5:c809fe10 r4:ffffffde r3:a0698238

<4>[ 3955.852050] [<a00dbb2c>] (notifier_call_chain+0x0/0xd8) from [<a00dbce0>] (__raw_notifier_call_chain+0x1c/0x24)

<4>[ 3955.852050] r8:00000001 r7:00000010 r6:a08db8dc r5:a08db08c r4:00000001

<4>[ 3955.852081] r3:ffffffff

<4>[ 3955.852111] [<a00dbcc4>] (__raw_notifier_call_chain+0x0/0x24) from [<a00b7580>] (__cpu_notify+0x30/0x4c)

<4>[ 3955.852172] [<a00b7550>] (__cpu_notify+0x0/0x4c) from [<a068a92c>] (_cpu_down+0x88/0x254)

<4>[ 3955.852203] [<a068a8a4>] (_cpu_down+0x0/0x254) from [<a00b7890>] (disable_nonboot_cpus+0x74/0xfc)

<4>[ 3955.852203] r8:a095a97c r7:00000000 r6:a08db8dc r5:a08db08c r4:00000001

<4>[ 3955.852264] [<a00b781c>] (disable_nonboot_cpus+0x0/0xfc) from [<a00f3f14>] (suspend_devices_and_enter+0x150/0x2ec)

<4>[ 3955.852264] r8:00000000 r7:a096d3ec r6:a080b1ec r5:00000003 r4:00000000

<4>[ 3955.852294] r3:00000000

<4>[ 3955.852325] [<a00f3dc4>] (suspend_devices_and_enter+0x0/0x2ec) from [<a00f41c8>] (enter_state+0x118/0x144)

<4>[ 3955.852355] [<a00f40b0>] (enter_state+0x0/0x144) from [<a00f4210>] (pm_suspend+0x1c/0x28)

<4>[ 3955.852355] r6:000830bf r5:a096d3f0 r4:a0902b98 r3:00000002

<4>[ 3955.852416] [<a00f41f4>] (pm_suspend+0x0/0x28) from [<a00f520c>] (suspend+0x64/0x198)

<4>[ 3955.852447] [<a00f51a8>] (suspend+0x0/0x198) from [<a00d05f4>] (process_one_work+0x140/0x480)

<4>[ 3955.852447] r8:00000000 r7:d081da00 r6:a095bc20 r5:c809e000 r4:ca70ca00

<4>[ 3955.852508] [<a00d04b4>] (process_one_work+0x0/0x480) from [<a00d0c64>] (worker_thread+0x13c/0x320)

<4>[ 3955.852539] [<a00d0b28>] (worker_thread+0x0/0x320) from [<a00d5d38>] (kthread+0x8c/0x94)

<4>[ 3955.852569] [<a00d5cac>] (kthread+0x0/0x94) from [<a00b93d0>] (do_exit+0x0/0x700)

<4>[ 3955.852600] r6:a00b93d0 r5:a00d5cac r4:d00f1ed4

<3>[ 3955.852661] BUG: scheduling while atomic: kworker/u:4/16261/0x00000002

<4>[ 3955.852691] Modules linked in:

<4>[ 3955.852691] Backtrace:

<4>[ 3955.852752] [<a0063840>] (dump_backtrace+0x0/0x10c) from [<a069862c>] (dump_stack+0x18/0x1c)

<4>[ 3955.852752] r6:cc18e980 r5:00000000 r4:00000000 r3:600d0113

<4>[ 3955.852783] [<a0698614>] (dump_stack+0x0/0x1c) from [<a0698898>] (__schedule_bug+0x5c/0x68)

<4>[ 3955.852844] [<a069883c>] (__schedule_bug+0x0/0x68) from [<a069e6d4>] (__schedule+0x6f8/0x938)

<4>[ 3955.852844] r4:a0057aa0 r3:00000000

<4>[ 3955.852874] [<a069dfdc>] (__schedule+0x0/0x938) from [<a069ea64>] (schedule+0x50/0x68)

<4>[ 3955.852905] [<a069ea14>] (schedule+0x0/0x68) from [<a069ef88>] (schedule_timeout+0x1c4/0x308)

<4>[ 3955.852935] [<a069edc4>] (schedule_timeout+0x0/0x308) from [<a069de04>] (wait_for_common+0xc0/0x1ec)

<4>[ 3955.852966] [<a069dd44>] (wait_for_common+0x0/0x1ec) from [<a069dfd8>] (wait_for_completion+0x18/0x1c)

<4>[ 3955.852966] r8:a00575d8 r7:00000002 r6:00000000 r5:a09fdf3c r4:a096ece0

<4>[ 3955.853027] [<a069dfc0>] (wait_for_completion+0x0/0x1c) from [<a0107dcc>] (synchronize_sched+0x54/0x7c)

<4>[ 3955.853057] [<a0107d78>] (synchronize_sched+0x0/0x7c) from [<a00db8a4>] (__synchronize_srcu.constprop.1+0x40/0xa0)

<4>[ 3955.853088] r4:a09fdf34

<4>[ 3955.853118] [<a00db864>] (__synchronize_srcu.constprop.1+0x0/0xa0) from [<a00db914>] (synchronize_srcu+0x10/0x14)

<4>[ 3955.853118] r6:a12185d8 r5:a09fdf1c r4:00000000 r3:00000000

<4>[ 3955.853149] [<a00db904>] (synchronize_srcu+0x0/0x14) from [<a00dc1fc>] (srcu_notifier_chain_unregister+0x70/0xe8)

<4>[ 3955.853179] [<a00dc18c>] (srcu_notifier_chain_unregister+0x0/0xe8) from [<a04939dc>] (cpufreq_unregister_notifier+0x40/0x60)

<4>[ 3955.853210] r5:a09fe0d0 r4:d00d0e40

<4>[ 3955.853240] [<a049399c>] (cpufreq_unregister_notifier+0x0/0x60) from [<a04a2fc0>] (cpufreq_governor_interactive+0x2ec/0x3b0)

<4>[ 3955.853302] [<a04a2cd4>] (cpufreq_governor_interactive+0x0/0x3b0) from [<a0492eac>] (__cpufreq_governor+0xc4/0x1c8)

<4>[ 3955.853332] [<a0492de8>] (__cpufreq_governor+0x0/0x1c8) from [<a04947b0>] (__cpufreq_remove_dev+0x1d0/0x2c0)

<4>[ 3955.853363] [<a04945e0>] (__cpufreq_remove_dev+0x0/0x2c0) from [<a06982c8>] (cpufreq_cpu_callback+0x90/0xa0)

<4>[ 3955.853393] [<a0698238>] (cpufreq_cpu_callback+0x0/0xa0) from [<a00dbb80>] (notifier_call_chain+0x54/0xd8)

<4>[ 3955.853393] r6:a0934a58 r5:c809fe10 r4:ffffffde r3:a0698238

<4>[ 3955.853424] [<a00dbb2c>] (notifier_call_chain+0x0/0xd8) from [<a00dbce0>] (__raw_notifier_call_chain+0x1c/0x24)

<4>[ 3955.853454] r8:00000001 r7:00000010 r6:a08db8dc r5:a08db08c r4:00000001

<4>[ 3955.853485] r3:ffffffff

<4>[ 3955.853515] [<a00dbcc4>] (__raw_notifier_call_chain+0x0/0x24) from [<a00b7580>] (__cpu_notify+0x30/0x4c)

<4>[ 3955.853546] [<a00b7550>] (__cpu_notify+0x0/0x4c) from [<a068a92c>] (_cpu_down+0x88/0x254)

<4>[ 3955.853576] [<a068a8a4>] (_cpu_down+0x0/0x254) from [<a00b7890>] (disable_nonboot_cpus+0x74/0xfc)

<4>[ 3955.853607] r8:a095a97c r7:00000000 r6:a08db8dc r5:a08db08c r4:00000001

<4>[ 3955.853637] [<a00b781c>] (disable_nonboot_cpus+0x0/0xfc) from [<a00f3f14>] (suspend_devices_and_enter+0x150/0x2ec)

<4>[ 3955.853668] r8:00000000 r7:a096d3ec r6:a080b1ec r5:00000003 r4:00000000

<4>[ 3955.853698] r3:00000000

<4>[ 3955.853698] [<a00f3dc4>] (suspend_devices_and_enter+0x0/0x2ec) from [<a00f41c8>] (enter_state+0x118/0x144)

<4>[ 3955.853729] [<a00f40b0>] (enter_state+0x0/0x144) from [<a00f4210>] (pm_suspend+0x1c/0x28)

<4>[ 3955.853759] r6:000830bf r5:a096d3f0 r4:a0902b98 r3:00000002

<4>[ 3955.853790] [<a00f41f4>] (pm_suspend+0x0/0x28) from [<a00f520c>] (suspend+0x64/0x198)

<4>[ 3955.853820] [<a00f51a8>] (suspend+0x0/0x198) from [<a00d05f4>] (process_one_work+0x140/0x480)

<4>[ 3955.853820] r8:00000000 r7:d081da00 r6:a095bc20 r5:c809e000 r4:ca70ca00

<4>[ 3955.853881] [<a00d04b4>] (process_one_work+0x0/0x480) from [<a00d0c64>] (worker_thread+0x13c/0x320)

<4>[ 3955.853912] [<a00d0b28>] (worker_thread+0x0/0x320) from [<a00d5d38>] (kthread+0x8c/0x94)

<4>[ 3955.853942] [<a00d5cac>] (kthread+0x0/0x94) from [<a00b93d0>] (do_exit+0x0/0x700)

<4>[ 3955.853942] r6:a00b93d0 r5:a00d5cac r4:d00f1ed4

<3>[ 3955.920928] BUG: scheduling while atomic: kworker/u:4/16261/0x00000002

<4>[ 3955.920928] Modules linked in:

<4>[ 3955.920959] Backtrace:

<4>[ 3955.920989] [<a0063840>] (dump_backtrace+0x0/0x10c) from [<a069862c>] (dump_stack+0x18/0x1c)

<4>[ 3955.920989] r6:cc18e980 r5:00000000 r4:00000000 r3:600d0113

<4>[ 3955.921051] [<a0698614>] (dump_stack+0x0/0x1c) from [<a0698898>] (__schedule_bug+0x5c/0x68)

<4>[ 3955.921081] [<a069883c>] (__schedule_bug+0x0/0x68) from [<a069e6d4>] (__schedule+0x6f8/0x938)

<4>[ 3955.921081] r4:a0057aa0 r3:00000000

<4>[ 3955.921112] [<a069dfdc>] (__schedule+0x0/0x938) from [<a069ea64>] (schedule+0x50/0x68)

<4>[ 3955.921142] [<a069ea14>] (schedule+0x0/0x68) from [<a069ef88>] (schedule_timeout+0x1c4/0x308)

<4>[ 3955.921173] [<a069edc4>] (schedule_timeout+0x0/0x308) from [<a069de04>] (wait_for_common+0xc0/0x1ec)

<4>[ 3955.921203] [<a069dd44>] (wait_for_common+0x0/0x1ec) from [<a069dfd8>] (wait_for_completion+0x18/0x1c)

<4>[ 3955.921234] r8:a00575d8 r7:00000002 r6:00000001 r5:a09fdf3c r4:a096ece0

<4>[ 3955.921264] [<a069dfc0>] (wait_for_completion+0x0/0x1c) from [<a0107dcc>] (synchronize_sched+0x54/0x7c)

<4>[ 3955.921295] [<a0107d78>] (synchronize_sched+0x0/0x7c) from [<a00db8b8>] (__synchronize_srcu.constprop.1+0x54/0xa0)

<4>[ 3955.921325] r4:a09fdf34

<4>[ 3955.921325] [<a00db864>] (__synchronize_srcu.constprop.1+0x0/0xa0) from [<a00db914>] (synchronize_srcu+0x10/0x14)

<4>[ 3955.921356] r6:a12185d8 r5:a09fdf1c r4:00000000 r3:00000000

<4>[ 3955.921386] [<a00db904>] (synchronize_srcu+0x0/0x14) from [<a00dc1fc>] (srcu_notifier_chain_unregister+0x70/0xe8)

<4>[ 3955.921417] [<a00dc18c>] (srcu_notifier_chain_unregister+0x0/0xe8) from [<a04939dc>] (cpufreq_unregister_notifier+0x40/0x60)

<4>[ 3955.921447] r5:a09fe0d0 r4:d00d0e40

<4>[ 3955.921478] [<a049399c>] (cpufreq_unregister_notifier+0x0/0x60) from [<a04a2fc0>] (cpufreq_governor_interactive+0x2ec/0x3b0)

<4>[ 3955.921508] [<a04a2cd4>] (cpufreq_governor_interactive+0x0/0x3b0) from [<a0492eac>] (__cpufreq_governor+0xc4/0x1c8)

<4>[ 3955.921539] [<a0492de8>] (__cpufreq_governor+0x0/0x1c8) from [<a04947b0>] (__cpufreq_remove_dev+0x1d0/0x2c0)

<4>[ 3955.921600] [<a04945e0>] (__cpufreq_remove_dev+0x0/0x2c0) from [<a06982c8>] (cpufreq_cpu_callback+0x90/0xa0)

<4>[ 3955.921630] [<a0698238>] (cpufreq_cpu_callback+0x0/0xa0) from [<a00dbb80>] (notifier_call_chain+0x54/0xd8)

<4>[ 3955.921630] r6:a0934a58 r5:c809fe10 r4:ffffffde r3:a0698238

<4>[ 3955.921661] [<a00dbb2c>] (notifier_call_chain+0x0/0xd8) from [<a00dbce0>] (__raw_notifier_call_chain+0x1c/0x24)

<4>[ 3955.921691] r8:00000001 r7:00000010 r6:a08db8dc r5:a08db08c r4:00000001

<4>[ 3955.921722] r3:ffffffff

<4>[ 3955.921752] [<a00dbcc4>] (__raw_notifier_call_chain+0x0/0x24) from [<a00b7580>] (__cpu_notify+0x30/0x4c)

<4>[ 3955.921783] [<a00b7550>] (__cpu_notify+0x0/0x4c) from [<a068a92c>] (_cpu_down+0x88/0x254)

<4>[ 3955.921813] [<a068a8a4>] (_cpu_down+0x0/0x254) from [<a00b7890>] (disable_nonboot_cpus+0x74/0xfc)

<4>[ 3955.921813] r8:a095a97c r7:00000000 r6:a08db8dc r5:a08db08c r4:00000001

<4>[ 3955.921874] [<a00b781c>] (disable_nonboot_cpus+0x0/0xfc) from [<a00f3f14>] (suspend_devices_and_enter+0x150/0x2ec)

<4>[ 3955.921905] r8:00000000 r7:a096d3ec r6:a080b1ec r5:00000003 r4:00000000

<4>[ 3955.921936] r3:00000000

<4>[ 3955.921936] [<a00f3dc4>] (suspend_devices_and_enter+0x0/0x2ec) from [<a00f41c8>] (enter_state+0x118/0x144)

<4>[ 3955.921966] [<a00f40b0>] (enter_state+0x0/0x144) from [<a00f4210>] (pm_suspend+0x1c/0x28)

<4>[ 3955.921997] r6:000830bf r5:a096d3f0 r4:a0902b98 r3:00000002

<4>[ 3955.922027] [<a00f41f4>] (pm_suspend+0x0/0x28) from [<a00f520c>] (suspend+0x64/0x198)

<4>[ 3955.922058] [<a00f51a8>] (suspend+0x0/0x198) from [<a00d05f4>] (process_one_work+0x140/0x480)

<4>[ 3955.922058] r8:00000000 r7:d081da00 r6:a095bc20 r5:c809e000 r4:ca70ca00

<4>[ 3955.922119] [<a00d04b4>] (process_one_work+0x0/0x480) from [<a00d0c64>] (worker_thread+0x13c/0x320)

<4>[ 3955.922149] [<a00d0b28>] (worker_thread+0x0/0x320) from [<a00d5d38>] (kthread+0x8c/0x94)

<4>[ 3955.922180] [<a00d5cac>] (kthread+0x0/0x94) from [<a00b93d0>] (do_exit+0x0/0x700)

<4>[ 3955.922180] r6:a00b93d0 r5:a00d5cac r4:d00f1ed4