[PATCH 6.1 0711/1146] serial: altera_uart: fix locking in polling mode