lpcmanager

5ccb381c307c
LPCBus: Device bus init was not repeatable across stop/start.

In case init happens multiple time, explicit POSIX initialization calls has to be used instead of static initializers.
pthread_mutex_lock(&UART_WakeCondLock);
UART_task_active = 0;
pthread_cond_signal(&UART_WakeCond);
pthread_mutex_unlock(&UART_WakeCondLock);
pthread_join(UART_task, NULL);
closeserial(UART_fd);