On Mon, Dec 12, 2016 at 5:58 PM, Marcin Niestroj <m.niestroj@xxxxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html