aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndreas Klinger <[email protected]>2019-10-06 16:29:56 +0200
committerJonathan Cameron <[email protected]>2019-10-12 14:31:09 +0100
commit431f7667bd6889a274913162dfd19cce9d84848e (patch)
treea3b6d2b7a6d80cd9de71b9a6e5271ff069f521af /lib/memory-notifier-error-inject.c
parent24e1eb5c0d78cfb9750b690bbe997d4d59170258 (diff)
iio: srf04: fix wrong limitation in distance measuring
The measured time value in the driver is limited to the maximum distance which can be read by the sensor. This limitation was wrong and is fixed by this patch. It also takes into account that we are supporting a variety of sensors today and that the recently added sensors have a higher maximum distance range. Changes in v2: - Added a Tested-by Suggested-by: Zbyněk Kocur <[email protected]> Tested-by: Zbyněk Kocur <[email protected]> Signed-off-by: Andreas Klinger <[email protected]> Cc:<[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions