diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2014-12-29 10:27:21 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-05 18:59:56 (GMT) |
commit | c22d2672c826a67a84fa60c17797315f4c94cedb (patch) | |
tree | 24cefdb40312b3f96f1808173afe758d7a4449a7 /drivers/iio/industrialio-buffer.c | |
parent | a5b940fa4ac0c4d8d9e07bda17a68a042e4d1d94 (diff) | |
download | linux-c22d2672c826a67a84fa60c17797315f4c94cedb.tar.xz |
iio: mxs-lradc: check ranges of ts properties
The devicetree binding for mxs-lradc defines ranges for the
touchscreen properties. In order to avoid unexpected behavior like
division by zero, we better check these ranges during probe and
abort in error case.
Additionally this patch adds an important note from the reference
manual about the range of sample delay.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-buffer.c')
0 files changed, 0 insertions, 0 deletions