[Xperia Z3 Tablet Compact Original Android Developm] koron393:
[MENTION=615507]lowtraxx[/MENTION]

Thanks for reply.

Probably Deep Sleep issue is my AICP 7.1.2 specific problem.

* Your LOS 7.1.2 build

* RR 7.1.2 private build

Both of them go into deep sleep state properly.

BTW when repeating bluetooth switch on/off, kernel crashes because of "Unbalanced IRQ" all of 7.1.2 build. Do you have any information about this problem?

This is your LOS kernel log

4,1911,60031366,-;WARNING: at /home/opahl/android/system/kernel/sony/msm/kernel/irq/manage.c:457 0xc0074434()

4,1912,60040732,-;Unbalanced enable for IRQ 344

6,1913,60044728,-;CPU: 2 PID: 3969 Comm: hci_thread Tainted: G W 3.10.84-g6f5e7a5 #1

6,1914,60044736,-;Function entered at [<c00139a0>] from [<c0011c28>]

6,1915,60044740,-;Function entered at [<c0011c28>] from [<c002e298>]

6,1916,60044745,-;Function entered at [<c002e298>] from [<c002e310>]

6,1917,60044749,-;Function entered at [<c002e310>] from [<c0074434>]

6,1918,60044753,-;Function entered at [<c0074434>] from [<c063c154>]

6,1919,60044758,-;Function entered at [<c063c154>] from [<c063cec4>]

6,1920,60044762,-;Function entered at [<c063cec4>] from [<c063f800>]

6,1921,60044766,-;Function entered at [<c063f800>] from [<c063fb4c>]

6,1922,60044770,-;Function entered at [<c063fb4c>] from [<c063d270>]

6,1923,60044774,-;Function entered at [<c063d270>] from [<c0108cd0>]

6,1924,60044780,-;Function entered at [<c0108cd0>] from [<c01038d4>]

6,1925,60044785,-;Function entered at [<c01038d4>] from [<c0104778>]

6,1926,60044789,-;Function entered at [<c0104778>] from [<c011033c>]

6,1927,60044794,-;Function entered at [<c011033c>] from [<c0110da4>]

6,1928,60044799,-;Function entered at [<c0110da4>] from [<c0111158>]

6,1929,60044803,-;Function entered at [<c0111158>] from [<c0104ae4>]

6,1930,60044808,-;Function entered at [<c0104ae4>] from [<c000e340>]

4,1931,60044813,-;---[ end trace 3123861284bc97d5 ]---

This is my kernel log

4,1693,30196133,-;------------[ cut here ]------------

4,1694,30199731,-;WARNING: at kernel/irq/manage.c:457 enable_irq+0x60/0x74()

4,1695,30206218,-;Unbalanced enable for IRQ 344

6,1696,30210213,-;CPU: 3 PID: 2977 Comm: hci_thread Tainted: G W 3.10.84-gbdf5312 #6

6,1697,30210226,-;[<c001384c>] (unwind_backtrace+0x0/0x11c) from [<c0011ad8>] (show_stack+0x10/0x14)

6,1698,30210236,-;[<c0011ad8>] (show_stack+0x10/0x14) from [<c002e3dc>] (warn_slowpath_common+0x48/0x68)

6,1699,30210244,-;[<c002e3dc>] (warn_slowpath_common+0x48/0x68) from [<c002e454>] (warn_slowpath_fmt+0x2c/0x3c)

6,1700,30210254,-;[<c002e454>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0073ce0>] (enable_irq+0x60/0x74)

6,1701,30210265,-;[<c0073ce0>] (enable_irq+0x60/0x74) from [<c06663c4>] (enable_wakeup_irq+0x30/0x84)

6,1702,30210274,-;[<c06663c4>] (enable_wakeup_irq+0x30/0x84) from [<c0667138>] (bluesleep_start+0xec/0x11c)

6,1703,30210284,-;[<c0667138>] (bluesleep_start+0xec/0x11c) from [<c0669a58>] (brcm_sh_ldisc_start+0x18/0x114)

6,1704,30210291,-;[<c0669a58>] (brcm_sh_ldisc_start+0x18/0x114) from [<c0669dc4>] (brcm_sh_ldisc_register+0x1b0/0x324)

6,1705,30210299,-;[<c0669dc4>] (brcm_sh_ldisc_register+0x1b0/0x324) from [<c06674d8>] (brcm_bt_drv_open+0x58/0x25c)

6,1706,30210308,-;[<c06674d8>] (brcm_bt_drv_open+0x58/0x25c) from [<c01056a0>] (chrdev_open+0x108/0x134)

6,1707,30210318,-;[<c01056a0>] (chrdev_open+0x108/0x134) from [<c0100394>] (do_dentry_open+0x190/0x23c)

6,1708,30210328,-;[<c0100394>] (do_dentry_open+0x190/0x23c) from [<c0101198>] (finish_open+0x38/0x4c)

6,1709,30210338,-;[<c0101198>] (finish_open+0x38/0x4c) from [<c010d478>] (do_last+0xa68/0xc90)

6,1710,30210348,-;[<c010d478>] (do_last+0xa68/0xc90) from [<c010d750>] (path_openat+0xb0/0x43c)

6,1711,30210355,-;[<c010d750>] (path_openat+0xb0/0x43c) from [<c010db08>] (do_filp_open+0x2c/0x78)

6,1712,30210364,-;[<c010db08>] (do_filp_open+0x2c/0x78) from [<c01014e8>] (do_sys_open+0xdc/0x168)

6,1713,30210374,-;[<c01014e8>] (do_sys_open+0xdc/0x168) from [<c000e1c0>] (ret_fast_syscall+0x0/0x38)

4,1714,30210378,-;---[ end trace 6164c36cfc73b984 ]---