Re: [PATCH 2/2] iio: st_pressure: Export sampling frequency for lps25h and lps331ap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/12/16 08:52, Linus Walleij wrote:
> 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
> 
Applied to the togreg branch of iio.git and pushed out as
testing for the autobuilders to play with it.

Thanks,

Jonathan
--
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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux