diff options
| author | tturney <tturney@google.com> | 2015-09-02 22:27:03 -0700 |
|---|---|---|
| committer | tturney <tturney@google.com> | 2015-09-02 22:30:47 -0700 |
| commit | 00f5e91d255b35230051b14810ae201090e8d7b1 (patch) | |
| tree | 0307592df7a3c05fd2f28588c7c236df54033f8a | |
| parent | b7b7af83922fc5918d2632402daa3824364806fb (diff) | |
| download | android_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
| -rw-r--r-- | src/upio.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); |
