[PATCH LINUX v3 05/10] tty: xuartps: Improve startup function
From: Sören Brinkmann <hidden>
Date: 2015-12-05 21:47:20
Also in:
linux-serial, lkml
From: Sören Brinkmann <hidden>
Date: 2015-12-05 21:47:20
Also in:
linux-serial, lkml
On Sat, 2015-12-05 at 12:21PM -0500, Peter Hurley wrote:
On 11/21/2015 09:59 PM, Soren Brinkmann wrote:quoted
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 <redacted> 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.
Thanks for pointing that out. I'll patch that. S?ren