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: Mark Brown <broonie@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Mark Brown 2014-04-22 17:37:43 -07:00 committed by Dmitry Torokhov
parent 7beebcb09f
commit c898620869
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ static void ads7846_read_state(struct ads7846 *ts)
m = &ts->msg[msg_idx]; m = &ts->msg[msg_idx];
error = spi_sync(ts->spi, m); error = spi_sync(ts->spi, m);
if (error) { 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; packet->tc.ignore = true;
return; return;
} }