Revert upio changes to fix wear timeouts.
Bug: 23751002
Change-Id: I78edd202ffc74353ae9703f374a7badac0cf3084
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 @@
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);