From patchwork Fri Jan 9 10:29:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 42900 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 39CBE26D04 for ; Fri, 9 Jan 2015 10:29:28 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id a1sf3887906wgh.3 for ; Fri, 09 Jan 2015 02:29:27 -0800 (PST) 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:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=EBq77y9w18aeRZ2AkreIfRnLD0qSaxS0xrzV3pm+uM4=; b=lW4Wsp0XFhxa+UUNwRol1uK93l6WtPUC0lXabWkLZMx5k5LQ8Azs1ZcvpoUc+nVB+R znxVPfVH/lTZwV9gVWuqamcfjKrWiMcw1ehjey42dKq0xorExTeM5vbCDl0QBMTb41ck 0T2Nlo29g4Mt07mBtfSXR7W3DoWquUofWXlqIuJLojGMDY8wkNPvWO7qwwOoe39MwiEK os5VLi9S7yuGY/QaanPR/tu37FZwGqsqzi0FIKBnleu6xbBSBH1m2hX9ot1Gy4zv4uPk IqV7KuQc1iICXURVQGQdj+0uaF3/n4Yoer77aixnbqkuudf51mhERFymiqyUZAyYpat1 JJUg== X-Gm-Message-State: ALoCoQkho0Vcu/N9UZUYqI6JbiItwPK532Mzgc/cXxqDzR2IQo68QJV+QtWOcWvEilsRUSo5FyJi X-Received: by 10.112.118.18 with SMTP id ki18mr118214lbb.15.1420799367487; Fri, 09 Jan 2015 02:29:27 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.132 with SMTP id ue4ls327681lac.58.gmail; Fri, 09 Jan 2015 02:29:27 -0800 (PST) X-Received: by 10.112.172.167 with SMTP id bd7mr20950718lbc.14.1420799367321; Fri, 09 Jan 2015 02:29:27 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id np9si12654736lbb.0.2015.01.09.02.29.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Jan 2015 02:29:27 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id 10so7980995lbg.5 for ; Fri, 09 Jan 2015 02:29:27 -0800 (PST) X-Received: by 10.152.197.5 with SMTP id iq5mr20661768lac.6.1420799367006; Fri, 09 Jan 2015 02:29:27 -0800 (PST) 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.112.9.200 with SMTP id c8csp288222lbb; Fri, 9 Jan 2015 02:29:26 -0800 (PST) X-Received: by 10.66.160.199 with SMTP id xm7mr22307007pab.58.1420799364889; Fri, 09 Jan 2015 02:29:24 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ej17si12783064pdb.218.2015.01.09.02.29.24; Fri, 09 Jan 2015 02:29:24 -0800 (PST) Received-SPF: none (google.com: stable-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751726AbbAIK3W (ORCPT + 1 other); Fri, 9 Jan 2015 05:29:22 -0500 Received: from ip4-83-240-67-251.cust.nbox.cz ([83.240.67.251]:44460 "EHLO ip4-83-240-18-248.cust.nbox.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756191AbbAIK3V (ORCPT ); Fri, 9 Jan 2015 05:29:21 -0500 Received: from ku by ip4-83-240-18-248.cust.nbox.cz with local (Exim 4.84) (envelope-from ) id 1Y9Wog-0003tq-Vz; Fri, 09 Jan 2015 11:29:18 +0100 From: Jiri Slaby To: stable@vger.kernel.org Cc: Linus Walleij , Lee Jones , Jiri Slaby Subject: [patch added to the 3.12 stable tree] mfd: stmpe: Fix STMPE24xx GPMR LSB Date: Fri, 9 Jan 2015 11:29:16 +0100 Message-Id: <1420799358-14954-1-git-send-email-jslaby@suse.cz> X-Mailer: git-send-email 2.2.1 Sender: stable-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: stable@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) 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: Linus Walleij This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. =============== commit 871c3cf4ea7d5baf58e0a40bce7431ca5525aa2a upstream. The least significat byte of the GPIO value read register on the STMPE24xx series is on addres 0xA4 not 0xA5. Correct against datasheet and tested on the STMPE2401 hardware. Signed-off-by: Linus Walleij Signed-off-by: Lee Jones Signed-off-by: Jiri Slaby --- drivers/mfd/stmpe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/stmpe.h b/drivers/mfd/stmpe.h index ff2b09ba8797..50a5c8697bf7 100644 --- a/drivers/mfd/stmpe.h +++ b/drivers/mfd/stmpe.h @@ -269,7 +269,7 @@ int stmpe_remove(struct stmpe *stmpe); #define STMPE24XX_REG_CHIP_ID 0x80 #define STMPE24XX_REG_IEGPIOR_LSB 0x18 #define STMPE24XX_REG_ISGPIOR_MSB 0x19 -#define STMPE24XX_REG_GPMR_LSB 0xA5 +#define STMPE24XX_REG_GPMR_LSB 0xA4 #define STMPE24XX_REG_GPSR_LSB 0x85 #define STMPE24XX_REG_GPCR_LSB 0x88 #define STMPE24XX_REG_GPDR_LSB 0x8B