commit | 001fceb9c64a39aebb85d31134182d39c1628a21 | [log] [tgz] |
---|---|---|
author | Hartmut Knaack <knaack.h@gmx.de> | Sun Aug 02 22:43:46 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Aug 08 17:27:26 2015 +0100 |
tree | 5bfaf36c7e369692da8d52ddac81b9e5ec7297a0 | |
parent | 0ad4bf37017621e25fe157fa095fd8849779a873 [diff] |
iio:accel:mma8452: fix _get_hp_filter_index To iterate through the available frequencies of mma8452_hp_filter_cutoff[], the array size of a row of that table needs to be provided to _get_int_plus_micros_index(). Fixes: 1e79841a00e46 ("iio: mma8452: Add highpass filter configuration.") Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>