diff options
| author | Lars-Peter Clausen <[email protected]> | 2013-01-16 12:48:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2013-01-26 10:07:47 +0000 |
| commit | bdb20bdb8c1ea55c9a2f744cc5b2c7f66148a41b (patch) | |
| tree | 12d0edec2bf890cf954000715e7e50221317961f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 06220b89f2284f910f925676d757fd3331138dc6 (diff) | |
staging:iio:adis16400: Fix and cleanup 3db filter setting
The 3db divisors table is partially wrong and incomplete. Also the code rounds
up to the next higher frequency if the requested frequency would matches one of
the available frequencies. These two issues are fixed by this patch. The patch
also changes the driver to round down the filter frequency if it is larger than
the largest supported frequency instead of rejecting it as an invalid value.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions