[PATCH 5/5] serial/aspeed-vuart: Implement quick throttle mechanism

Jeremy Kerr jk at ozlabs.org
Wed Mar 21 14:57:12 AEDT 2018


Hi all,

> +static int aspeed_vuart_handle_irq(struct uart_port *port) { struct
> +	uart_8250_port *up = up_to_u8250p(port); unsigned int iir, lsr;
> +	unsigned long flags; int space, count;

Yikes, wrapping is messed up here. v2 coming soon, with the proper timer
API too.

Cheers,


Jeremy


More information about the Linux-aspeed mailing list