-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GPIO example to run on Kernel v6.10+
In Kernel v6.10-rc1, the functions for one-time GPIO registration, gpio_request_array() and gpio_free_array(), were removed. (reference: commit dbcedec from Linux) To ensure compatibility with Kernel v6.10+, replaced gpio_request_array() and gpio_free_array() with gpio_request() and gpio_free() to register GPIOs one by one. Resolves: #285
- Loading branch information
1 parent
6e3aee6
commit 6f3f426
Showing
3 changed files
with
203 additions
and
11 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
Oops, something went wrong.