tty: amba-pl011: Add un/throttle support
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- 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: NPhil Elwell <phil@raspberrypi.org> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录