summaryrefslogtreecommitdiffstats
path: root/src/upio.c
diff options
context:
space:
mode:
authortturney <tturney@google.com>2015-09-02 22:27:03 -0700
committertturney <tturney@google.com>2015-09-02 22:30:47 -0700
commit00f5e91d255b35230051b14810ae201090e8d7b1 (patch)
tree0307592df7a3c05fd2f28588c7c236df54033f8a /src/upio.c
parentb7b7af83922fc5918d2632402daa3824364806fb (diff)
downloadandroid_hardware_broadcom_libbt-00f5e91d255b35230051b14810ae201090e8d7b1.tar.gz
android_hardware_broadcom_libbt-00f5e91d255b35230051b14810ae201090e8d7b1.tar.bz2
android_hardware_broadcom_libbt-00f5e91d255b35230051b14810ae201090e8d7b1.zip
Revert upio changes to fix wear timeouts.
Bug: 23751002 Change-Id: I78edd202ffc74353ae9703f374a7badac0cf3084
Diffstat (limited to 'src/upio.c')
-rw-r--r--src/upio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/upio.c b/src/upio.c
index 43dc5b5..3f73482 100644
--- a/src/upio.c
+++ b/src/upio.c
@@ -499,16 +499,13 @@ void upio_set(uint8_t pio, uint8_t action, uint8_t polarity)
ALOGE("upio_set : write(%s) failed: %s (%d)",
VENDOR_BTWRITE_PROC_NODE, strerror(errno),errno);
}
+#if (PROC_BTWRITE_TIMER_TIMEOUT_MS != 0)
else
{
-#if (BT_WAKE_VIA_PROC == TRUE)
- lpm_proc_cb.btwrite_active = TRUE;
-#endif
-#if (PROC_BTWRITE_TIMER_TIMEOUT_MS != 0)
/* arm user space timer based on action */
upio_start_stop_timer(action);
-#endif
}
+#endif
UPIODBG("%s: proc btwrite assertion, buffer: %c, timer_armed %d %d",
__FUNCTION__, buffer, lpm_proc_cb.btwrite_active, lpm_proc_cb.timer_created);