[PATCH] tty: serial: samsung_tty: remove spinlock flags in interrupt handlers

Johan Hovold johan at kernel.org
Mon Mar 22 11:23:49 GMT 2021


On Mon, Mar 15, 2021 at 07:12:12PM +0100, Krzysztof Kozlowski wrote:
> Since interrupt handler is called with disabled local interrupts, there
> is no need to use the spinlock primitives disabling interrupts as well.
> 
> Suggested-by: Andy Shevchenko <andy.shevchenko at gmail.com>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>

Interrupts are now disabled also with forced interrupt threading even if
this never was an issue for this driver which currently doesn't take the
port lock in the console paths.

Reviewed-by: Johan Hovold <johan at kernel.org>

Johan



More information about the linux-arm-kernel mailing list