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

Commit c8986208 authored by Mark Brown's avatar Mark Brown Committed by Dmitry Torokhov
Browse files

Input: ads7846 - correct log message for spi_sync() errors



While searching for users of spi_async() I got a false positive in the
ads7846 driver, fix that.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 7beebcb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -706,7 +706,7 @@ static void ads7846_read_state(struct ads7846 *ts)
		m = &ts->msg[msg_idx];
		error = spi_sync(ts->spi, m);
		if (error) {
			dev_err(&ts->spi->dev, "spi_async --> %d\n", error);
			dev_err(&ts->spi->dev, "spi_sync --> %d\n", error);
			packet->tc.ignore = true;
			return;
		}