From 00f5e91d255b35230051b14810ae201090e8d7b1 Mon Sep 17 00:00:00 2001 From: tturney Date: Wed, 2 Sep 2015 22:27:03 -0700 Subject: Revert upio changes to fix wear timeouts. Bug: 23751002 Change-Id: I78edd202ffc74353ae9703f374a7badac0cf3084 --- src/upio.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') 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); -- cgit v1.2.3