Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66926d11 authored by Stefan Wahren's avatar Stefan Wahren Committed by Jonathan Cameron
Browse files

iio: mxs-lradc: fix some spelling errors



This patch fix some spelling errors in the comments.

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 07a4257e
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -65,14 +65,14 @@
 * Once the pen touches the touchscreen, the touchscreen switches from
 * Once the pen touches the touchscreen, the touchscreen switches from
 * IRQ-driven mode to polling mode to prevent interrupt storm. The polling
 * IRQ-driven mode to polling mode to prevent interrupt storm. The polling
 * is realized by worker thread, which is called every 20 or so milliseconds.
 * is realized by worker thread, which is called every 20 or so milliseconds.
 * This gives the touchscreen enough fluence and does not strain the system
 * This gives the touchscreen enough fluency and does not strain the system
 * too much.
 * too much.
 */
 */
#define LRADC_TS_SAMPLE_DELAY_MS	5
#define LRADC_TS_SAMPLE_DELAY_MS	5


/*
/*
 * The LRADC reads the following amount of samples from each touchscreen
 * The LRADC reads the following amount of samples from each touchscreen
 * channel and the driver then computes avarage of these.
 * channel and the driver then computes average of these.
 */
 */
#define LRADC_TS_SAMPLE_AMOUNT		4
#define LRADC_TS_SAMPLE_AMOUNT		4


@@ -812,7 +812,7 @@ static int mxs_lradc_read_single(struct iio_dev *iio_dev, int chan, int *val)
	int ret;
	int ret;


	/*
	/*
	 * See if there is no buffered operation in progess. If there is, simply
	 * See if there is no buffered operation in progress. If there is, simply
	 * bail out. This can be improved to support both buffered and raw IO at
	 * bail out. This can be improved to support both buffered and raw IO at
	 * the same time, yet the code becomes horribly complicated. Therefore I
	 * the same time, yet the code becomes horribly complicated. Therefore I
	 * applied KISS principle here.
	 * applied KISS principle here.