On 2022-09-27 at 13:18:19 +0200, Jiri Slaby <jslaby@xxxxxxx> wrote: > port->lock is unlocked in each branch in altera_jtaguart_console_putc(), > so do it before the "if". "status" needs not be under the lock, as the > register was already read. > > Cc: Tobias Klauser <tklauser@xxxxxxxxxx> > Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> Acked-by: Tobias Klauser <tklauser@xxxxxxxxxx> Thanks