-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: Track enabled channels on a per channel basis
commit 9e2e3e2 m2k branch. Now that we support multiple channels with the same scan index we can no longer use the scan mask to track which channels have been enabled. Otherwise it is not possible to enable channels with the same scan index independently. Introduce a new channel mask which is used instead of the scan mask to track which channels are enabled. Whenever the channel mask is changed a new scan mask is computed based on it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
- Loading branch information
1 parent
a87de8e
commit 81d0079
Showing
4 changed files
with
64 additions
and
16 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