Skip to content
Commit 74d08d69 authored by Jason Mitchell's avatar Jason Mitchell Committed by Chris Friedt
Browse files

drivers: serial: cmsdk_apb: fix irq_rx_ready deviation



The docstring for uart_cmsdk_apb_irq_rx_ready says "@return 1 if an
interrupt is ready, 0 otherwise" but the function actually returns 2 on
success. This commit fixes this to conform with serial driver API.

Signed-off-by: default avatarJason Mitchell <jmitchell@radicalsemiconductor.com>
parent 112e48eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment