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