Re: [PATCH] tty/serial: atmel: ensure state is restored after suspending

2017-02-06 Thread Richard Genoud
Hi Alexandre, On 03/02/2017 23:53, Alexandre Belloni wrote: > When going to suspend, the UART registers may be lost because the power to > VDDcore is cut. This is not an issue in the normal case but when > no_console_suspend is used, we need to restore the registers in order to > get a functional

Re: [PATCH] tty/serial: atmel: ensure state is restored after suspending

2017-02-06 Thread Nicolas Ferre
Le 03/02/2017 à 23:53, Alexandre Belloni a écrit : > When going to suspend, the UART registers may be lost because the power to > VDDcore is cut. This is not an issue in the normal case but when > no_console_suspend is used, we need to restore the registers in order to > get a functional console. >

[PATCH] tty/serial: atmel: ensure state is restored after suspending

2017-02-03 Thread Alexandre Belloni
When going to suspend, the UART registers may be lost because the power to VDDcore is cut. This is not an issue in the normal case but when no_console_suspend is used, we need to restore the registers in order to get a functional console. Signed-off-by: Alexandre Belloni --- drivers/tty/serial/a