[PATCH LINUX v3 05/10] tty: xuartps: Improve startup function

Peter Hurley peter at hurleysoftware.com
Sat Dec 5 09:21:34 PST 2015


On 11/21/2015 09:59 PM, Soren Brinkmann wrote:
> The startup function is supposed to initialize the UART for receiving.
> Hence, don't enable the TX part. Also, protect HW accesses with the port
> lock.

Reviewed-by: Peter Hurley <peter at hurleysoftware.com>

NB: the request_irq() should be _after_ h/w programming, otherwise an
interrupt could be triggered and in-progress before the h/w has been
setup.



More information about the linux-arm-kernel mailing list