mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-18 04:13:58 +00:00
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:
parent
7beebcb09f
commit
c898620869
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue