tmp_suning_uos_patched/drivers/iio/common
Archana Patni 3e729974d6 iio: hid-sensors: Set default unit of measure for report interval
For PROP_REPORT_INTERVAL, the spec does not mandate the presence
of the report interval unit in the feature report and expects the
default unit of measure to be used as milliseconds.

Currently, when the unit is not present, it gets set as zero leading
to issues in sampling frequency.

This patch sets the unit of measure to the default unit if it
is not defined by firmware.

Signed-off-by: Archana Patni <archana.patni@intel.com>
Signed-off-by: Subramony Sesha <subramony.sesha@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-05-10 11:45:02 +01:00
..
hid-sensors iio: hid-sensors: Set default unit of measure for report interval 2014-05-10 11:45:02 +01:00
st_sensors iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
Kconfig iio:common: Add STMicroelectronics common library 2013-01-31 17:56:43 +00:00
Makefile iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00