]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Input: ads7846 - correct log message for spi_sync() errors
authorMark Brown <broonie@linaro.org>
Wed, 23 Apr 2014 00:37:43 +0000 (17:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:45 +0000 (16:39 -0700)
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>
drivers/input/touchscreen/ads7846.c

index 45a06e495ed25702831441da6be558fa88491671..8c4fdd1f6faa48297c30d2b8bde5ea15e2663e08 100644 (file)
@@ -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;
                }