summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2014-12-29 10:27:21 +0000
committerJonathan Cameron <jic23@kernel.org>2015-01-05 18:59:56 +0000
commitc22d2672c826a67a84fa60c17797315f4c94cedb (patch)
tree24cefdb40312b3f96f1808173afe758d7a4449a7 /drivers/iio/industrialio-core.c
parenta5b940fa4ac0c4d8d9e07bda17a68a042e4d1d94 (diff)
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-core.c')
0 files changed, 0 insertions, 0 deletions