[PATCH 05/12] tty: amba-pl011: add register lookup table

Timur Tabi timur at codeaurora.org
Thu Dec 24 07:50:16 PST 2015


On Thu, Dec 24, 2015 at 9:40 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
>>         while (readl(port->membase + REG_FR) & UART01x_FR_TXFF)
>>
>> is broken because REG_FR is equal to 1.
>
> Patch 4, which changes to the REG_* stuff, does not (explicitly) touch
> this because it _will_ break stuff.

I'm just telling you what's in Greg's tty-next repository:

https://git.kernel.org/cgit/linux/kernel/git/gregkh/tty.git/log/drivers/tty/serial/amba-pl011.c?h=tty-next

https://git.kernel.org/cgit/linux/kernel/git/gregkh/tty.git/tree/drivers/tty/serial/amba-pl011.c?h=tty-next#n2302


-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.



More information about the linux-arm-kernel mailing list