forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
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: MGC maintain gain in case we cross a gaintable boun…
…dary MGC maintain current gain in case we cross a gaintable boundary. Currently when the gain tables are changed, the device maintains the same index. Which is not necessarily equal gain, based on the table being used. This patch deterimes the current gain and sets it once the new table is loaded. This fixes issue torvalds#234. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
- Loading branch information
1 parent
22ad113
commit 5b98ee8
Showing
1 changed file
with
106 additions
and
80 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