Skip to content
Snippets Groups Projects
user avatar
Andreas Klinger authored
commit 431f7667 upstream.

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: default avatarZbyněk Kocur <zbynek.kocur@fel.cvut.cz>
Tested-by: default avatarZbyněk Kocur <zbynek.kocur@fel.cvut.cz>
Signed-off-by: default avatarAndreas Klinger <ak@it-klinger.de>
Cc:<Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
d380065d
History
Name Last commit Last update
..