summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-11-05 00:45:02 +0000
committerRicardo Cerqueira <ricardo@cyngn.com>2015-11-05 00:45:02 +0000
commit2c8063a8db3a4f258ae80c0cf5dd59cd8180fd79 (patch)
treeb9905947886633dfba96d50a6576830e333f7644 /src
parentd58c13fb25e3ca93dcda915460600bdee6740751 (diff)
parent9ac18e70df13c2723ad9a8e7460ba0129fda7a03 (diff)
downloadandroid_hardware_broadcom_libbt-2c8063a8db3a4f258ae80c0cf5dd59cd8180fd79.tar.gz
android_hardware_broadcom_libbt-2c8063a8db3a4f258ae80c0cf5dd59cd8180fd79.tar.bz2
android_hardware_broadcom_libbt-2c8063a8db3a4f258ae80c0cf5dd59cd8180fd79.zip
Merge tag 'android-6.0.0_r26' into cm-13.0
Android 6.0.0 release 26
Diffstat (limited to 'src')
-rwxr-xr-xsrc/hardware.c3
-rw-r--r--src/upio.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/hardware.c b/src/hardware.c
index 8ea1c61..64f8dd6 100755
--- a/src/hardware.c
+++ b/src/hardware.c
@@ -1385,9 +1385,10 @@ uint32_t hw_lpm_get_idle_timeout(void)
*/
timeout_ms = (uint32_t)lpm_param.host_stack_idle_threshold \
* LPM_IDLE_TIMEOUT_MULTIPLE;
-
if (strstr(hw_cfg_cb.local_chip_name, "BCM4325") != NULL)
timeout_ms *= 25; // 12.5 or 25 ?
+ else if (strstr(hw_cfg_cb.local_chip_name, "BCM4358") != NULL)
+ timeout_ms *= 50;
else
timeout_ms *= 300;
diff --git a/src/upio.c b/src/upio.c
index 3f73482..d24d496 100644
--- a/src/upio.c
+++ b/src/upio.c
@@ -507,6 +507,10 @@ void upio_set(uint8_t pio, uint8_t action, uint8_t polarity)
}
#endif
+#if (BT_WAKE_VIA_PROC_NOTIFY_DEASSERT == TRUE)
+ lpm_proc_cb.btwrite_active = TRUE;
+#endif
+
UPIODBG("%s: proc btwrite assertion, buffer: %c, timer_armed %d %d",
__FUNCTION__, buffer, lpm_proc_cb.btwrite_active, lpm_proc_cb.timer_created);