These patch series fixes off-by-one issues of the touchscreen DT properties and finally adds a range check during probe. Only the range check has been tested by myself, because i don't have a touchscreen. So a functional test is very welcome. Changes since RFC: - add fix for off-by-one issues - first check DT properties and then assign a value - adapt range check to better represent DT binding - add important note from the reference manual as comment Stefan Wahren (2): DT: mxs-lradc: fix ranges of ts properties iio: mxs-lradc: check ranges of ts properties .../bindings/staging/iio/adc/mxs-lradc.txt | 4 +- drivers/staging/iio/adc/mxs-lradc.c | 44 +++++++++++++++----- 2 files changed, 36 insertions(+), 12 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html