All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: ads7846: Correct log message for spi_sync() errors
@ 2014-04-22 21:19 Mark Brown
  2014-04-23  0:38 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2014-04-22 21:19 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, linaro-kernel, Mark Brown

From: Mark Brown <broonie@linaro.org>

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>
---
 drivers/input/touchscreen/ads7846.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
index 7f8aa981500d..da201b8e37dc 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;
 		}
-- 
1.9.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: ads7846: Correct log message for spi_sync() errors
  2014-04-22 21:19 [PATCH] Input: ads7846: Correct log message for spi_sync() errors Mark Brown
@ 2014-04-23  0:38 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2014-04-23  0:38 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-input, linaro-kernel, Mark Brown

On Tue, Apr 22, 2014 at 10:19:15PM +0100, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
> 
> 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>

Applied, thank you.

> ---
>  drivers/input/touchscreen/ads7846.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
> index 7f8aa981500d..da201b8e37dc 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;
>  		}
> -- 
> 1.9.2
> 
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-23  0:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-22 21:19 [PATCH] Input: ads7846: Correct log message for spi_sync() errors Mark Brown
2014-04-23  0:38 ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.