diff options
author | Archana Patni <archana.patni@linux.intel.com> | 2014-08-05 14:36:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-05-10 11:45:02 +0100 |
commit | 3e729974d67608be773167677478781bc874d369 (patch) | |
tree | b40308e10d4819f65b50a25d1a71ba801ea9e220 /drivers/iio/adc | |
parent | 758ee467d37b6de6b3ca412d0cc90d2b9966b1af (diff) | |
download | talos-obmc-linux-3e729974d67608be773167677478781bc874d369.tar.gz talos-obmc-linux-3e729974d67608be773167677478781bc874d369.zip |
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>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions