-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: uart: Add return value to FIFO API callback set
If the interrupt-driven aka FIFO API is not enabled or not supported by a given UART, have the functions for setting the irq callback return an error code. They previously returned void. This is the same way the analogous functions in the async UART API work. This way it is possible to detect API support when a UART consumer initializes. Issue #53155 Signed-off-by: Trent Piepho <tpiepho@gmail.com>
- Loading branch information
1 parent
d320100
commit 9ee1e64
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters