-
Notifications
You must be signed in to change notification settings - Fork 845
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: ad9361: move RX/TX port selection on state struct
The TX/RX port selection can be controlled via sysfs, so it makes sense to make it a member of the state struct [vs the platform data struct]. Added accessor functions to update the selections, and to validate the input. The accessor functions will be used later in the band control. Signed-off-by: Alexandru Ardelean <[email protected]>
- Loading branch information
Showing
3 changed files
with
89 additions
and
17 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