Re: [PATCH 04/14] serial: tegra: protect IER against LCR.DLAB

From: Thierry Reding
Date: Tue Aug 13 2019 - 05:46:41 EST


On Mon, Aug 12, 2019 at 04:58:13PM +0530, Krishna Yarlagadda wrote:
> From: Ahung Cheng <ahcheng@xxxxxxxxxx>
>
> The IER and DLH registers occupy the same address space, selected by
> the LCR.DLAB bit. Hence, add port lock to protect IER when LCR.DLAB bit
> is set.
>
> Signed-off-by: Ahung Cheng <ahcheng@xxxxxxxxxx>
> Signed-off-by: Krishna Yarlagadda <kyarlagadda@xxxxxxxxxx>
> ---
> drivers/tty/serial/serial-tegra.c | 3 +++
> 1 file changed, 3 insertions(+)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature