Skip to content
Commit 79533c2b authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

tty: amba-pl011: Add un/throttle support



The PL011 driver lacks throttle and unthrottle methods. As a result,
sending more data to the Pi than it can immediately sink while CRTSCTS
is enabled causes a NULL pointer to be followed.

Add a throttle handler that disables the RX interrupts, and an
unthrottle handler that reenables them.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent 0631a08e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment