diff options
author | Marcin Niestroj <m.niestroj@grinn-global.com> | 2016-12-12 17:58:43 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-12-30 11:33:56 +0000 |
commit | 7f0d874036f07ceb394979f83a6411baed513aa9 (patch) | |
tree | 0efc91018e3b7f536964af33bd84b1e6fb4312b9 /scripts/mkcompile_h | |
parent | 1b211d48abaa0e12e6e6177c0316ff55d11fdfce (diff) | |
download | op-kernel-dev-7f0d874036f07ceb394979f83a6411baed513aa9.zip op-kernel-dev-7f0d874036f07ceb394979f83a6411baed513aa9.tar.gz |
iio: st_pressure: Export sampling frequency for lps25h and lps331ap
Both devices are using the same iio_chan_spec to define which settings
are exported with sysfs. Both are properly configured to set/get
sampling frequency for pressure and temperature. They also properly
export available sampling frequencies. The only missing thing is
sampling_frequency sysfs file, which allows to set/get this property
from userspace.
Add sampling frequency to iio channel info mask, so sampling_frequency
file is properly exported using sysfs.
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/mkcompile_h')
0 files changed, 0 insertions, 0 deletions