From patchwork Tue Apr 22 21:19:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 28837 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C3068203AC for ; Tue, 22 Apr 2014 21:19:36 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h3sf600517igd.5 for ; Tue, 22 Apr 2014 14:19:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:date :message-id:subject:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=oRblXnUN5+/nGyjGs9lN4fvQ+gF9bgF1ekE/g1Gutxg=; b=DeI8G7jGH4zuZzU2JXpVGvt/6zyV46wFBrBk5tpJzaCwxJtso+b27qKcIDZOxL2Oep jaRwdWiWfdHt/D6C4iK3P3c4eqzbIU1DJUgBNeChpViPU+kl33taNTWG4BkG/XlMpOBT HzmD4MmybIuZpHZx4p6CZCOK7OrFjJFj1h34ykLotcDjPFZ9Ji80wmHiNT91n3yfqMdx k7fdiqCVGwuBgLknugj6WIsqLOvNgOcd9tmlr2FyTHX8VQQpZKQf8MTj9jRjLde91NWf vN8LmbSCCEMxjv+zO4rbIwGy9zeRytRCFvJzwKh47+iDJRGvEARYXoDKdUKqgLBBCM2t 2blw== X-Gm-Message-State: ALoCoQlRSKcMmRjY+HAQ74vv7d/tKjlEIEM/Q3SbxAVQf/2KmZb8DfaCn7kyM86xrsynZz6r58PQ X-Received: by 10.42.235.206 with SMTP id kh14mr18126484icb.30.1398201576172; Tue, 22 Apr 2014 14:19:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.11 with SMTP id c11ls356520qge.55.gmail; Tue, 22 Apr 2014 14:19:36 -0700 (PDT) X-Received: by 10.220.4.132 with SMTP id 4mr39087238vcr.9.1398201576040; Tue, 22 Apr 2014 14:19:36 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id is3si7104458vec.153.2014.04.22.14.19.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 14:19:36 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id id10so70689vcb.12 for ; Tue, 22 Apr 2014 14:19:36 -0700 (PDT) X-Received: by 10.220.105.4 with SMTP id r4mr3339333vco.27.1398201575970; Tue, 22 Apr 2014 14:19:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp55410vcb; Tue, 22 Apr 2014 14:19:35 -0700 (PDT) X-Received: by 10.68.230.41 with SMTP id sv9mr47784158pbc.23.1398201575275; Tue, 22 Apr 2014 14:19:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qa3si7944672pbb.407.2014.04.22.14.19.34; Tue, 22 Apr 2014 14:19:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757495AbaDVVT0 (ORCPT ); Tue, 22 Apr 2014 17:19:26 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:41795 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757932AbaDVVTY (ORCPT ); Tue, 22 Apr 2014 17:19:24 -0400 Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante.sirena.org.uk) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Wci63-0005tN-7A; Tue, 22 Apr 2014 21:19:23 +0000 Received: from broonie by debutante.sirena.org.uk with local (Exim 4.82) (envelope-from ) id 1Wci60-0003Wy-8M; Tue, 22 Apr 2014 22:19:16 +0100 From: Mark Brown To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linaro-kernel@lists.linaro.org, Mark Brown Date: Tue, 22 Apr 2014 22:19:15 +0100 Message-Id: <1398201555-13539-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 1.9.2 X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] Input: ads7846: Correct log message for spi_sync() errors X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-input-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mark Brown While searching for users of spi_async() I got a false positive in the ads7846 driver, fix that. Signed-off-by: Mark Brown --- 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; }