forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: uart: Cleanup not supported API handling
Fixed discrepancy between documentation and actual returned error code when API is not enabled or not supported by a device. Added detection of case when device does not implement uart_callback_set but ASYNC api is enabled. Returning -ENOSYS in that case. Signed-off-by: Krzysztof Chruscinski <[email protected]>
- Loading branch information
1 parent
b4b1212
commit 581c20e
Showing
1 changed file
with
64 additions
and
26 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