-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: led: Improve error handling
Improve error handling: - Add missing error handling for function calls - Cleanup log statements - Propagate errors to the led module - Make PWM start and stop functions static, remove from API. Not used externally. - Add check that prevents led pwm work to set a pattern if the pwm is suspended via power management. - Remove unneeded kconfig Signed-off-by: Simen S. Røstad <[email protected]>
- Loading branch information
1 parent
2c192c7
commit c5a5372
Showing
4 changed files
with
137 additions
and
86 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
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
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
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