From: Mark Brown Date: Wed, 23 Apr 2014 00:37:43 +0000 (-0700) Subject: Input: ads7846 - correct log message for spi_sync() errors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c898620869dd061e69f84e69759e4d6ea7fae79c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 45a06e495ed2..8c4fdd1f6faa 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c @@ -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; }