-
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: Validate MAX Half Band filter rates
The Half Band decimation and interpolation filters do have some max rate they can run on. Typically the driver itself or AD9361 filter wizard takes these into account. However recently we discovered a corner case where max TX_HB1 rate of 160MSPS could have been exceed by using a interpolate by 4 FIR filter and a Baseband rate of > 40 MSPS. This patch adds a check for all max ratings of BBPPL, ADC, DAC, HB3, HB2 and HB1 filters in the system. Signed-off-by: Michael Hennerich <[email protected]>
- Loading branch information
1 parent
d1883e4
commit a7c5b67
Showing
2 changed files
with
36 additions
and
2 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