linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: mxs-lradc: check ranges of ts properties
@ 2014-12-22 12:14 Stefan Wahren
  2014-12-22 12:14 ` [PATCH 1/2] DT: mxs-lradc: fix " Stefan Wahren
  2014-12-22 12:14 ` [PATCH 2/2] iio: mxs-lradc: check " Stefan Wahren
  0 siblings, 2 replies; 10+ messages in thread
From: Stefan Wahren @ 2014-12-22 12:14 UTC (permalink / raw)
  To: jic23
  Cc: festevam, kristina.martsenko, knaack.h, marex, kernel, pawel.moll,
	ijc+devicetree, robh+dt, galak, mark.rutland, linux-iio,
	devicetree, Stefan Wahren

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-12-26 21:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22 12:14 [PATCH 0/2] iio: mxs-lradc: check ranges of ts properties Stefan Wahren
2014-12-22 12:14 ` [PATCH 1/2] DT: mxs-lradc: fix " Stefan Wahren
2014-12-22 12:14 ` [PATCH 2/2] iio: mxs-lradc: check " Stefan Wahren
2014-12-23 13:37   ` Marek Vasut
2014-12-23 22:45     ` Stefan Wahren
2014-12-24  0:35       ` Marek Vasut
2014-12-26  9:22         ` Jonathan Cameron
2014-12-26  9:23   ` Jonathan Cameron
2014-12-26 20:50     ` Stefan Wahren
2014-12-26 21:57       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).