Received: by 10.223.185.116 with SMTP id b49csp1097509wrg; Sat, 3 Mar 2018 15:28:27 -0800 (PST) X-Google-Smtp-Source: AG47ELsq/z2rOP9QZ+M9O21/WbNsQ5ahL3VIQpVTF4VAq2xl1wSbS5KapqmlMPvcpYcNY4qCefXo X-Received: by 10.99.167.66 with SMTP id w2mr8310833pgo.357.1520119707565; Sat, 03 Mar 2018 15:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520119707; cv=none; d=google.com; s=arc-20160816; b=FC3hwgv90o762dTHvOcKZDrLb2KbFrpdxFzGm99mRRrAS/kv11qFdZzpke7uznvh2b I95fwICHR6ylBIOhcwCIi8Z5zU/tsb557MCRhJCIXDJDQCUldLBor1Pfj9K24VYmibW7 iGK1NwwNE1eJy9D1+YTD280e2R/EimuJt/LwBhjoQ3yX1QzijfUR/CrvJBDiVECxYaKv KoL9I67hmUQ1/0pJa7oaYHMzOHWuwG5QIHOa9yeLu4mWUhlfIAnt1OLkV83rxKJ9Pt08 Su0izBuR0hJT+/A3vffRLJ3237qzUKvxoPxtdZ4WasIVEkuQKKJNmQ3OJ3gSlmDosKsO sLzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=xmFphahuEPFKXNTcwbo8bo0cXCmVz/NkYxKZLZOeEUk=; b=Oh+L9IT/EyaPtMYLTKT2bE46bnre5dyVS2fEQHSAiZzFSRiVhKcoLLtU9YxeyBO97J ofgawrwHvnJ7SkTS4TwLz60CqB3vPGm5sRRhL8m5OQTf+0Kz2t3z/Sc+r+LZt0ZHUOt9 92KCLjOpxUlzUc3tMZ/wnVNRL83oQvXjDgVuwSEZFU4MBPC1mdZHtPhecokVHJ+hM39V Wc0QOChFzb47hQvWW5TytPmYqjnIvIbCjlRLQMLFiWAAq7+3roKS6DhwN4ycYpon5PKp vBZMi3Yd3LhEO4oU39PHO09RxCt2nSypAPBoj+yLcTdY7/GTKHXePkNy5Rrg6bdNNg1p WZKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=E67486lB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s125si7585334pfb.37.2018.03.03.15.28.13; Sat, 03 Mar 2018 15:28:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=E67486lB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934497AbeCCX1E (ORCPT + 99 others); Sat, 3 Mar 2018 18:27:04 -0500 Received: from mail-by2nam03on0133.outbound.protection.outlook.com ([104.47.42.133]:4477 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934663AbeCCWhF (ORCPT ); Sat, 3 Mar 2018 17:37:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xmFphahuEPFKXNTcwbo8bo0cXCmVz/NkYxKZLZOeEUk=; b=E67486lBspCJ0AzFg6TeDiphBgHBFYUXhyNcK0xY1yhJgqetTdcLIsPnqEGlMeuic5sKkcfGJ7dN46ZX8fo0DbY5KevU/hdbBRFb0tP/eCAw6KNJMXwabfI2jNVZMusd/ST0kbWjxKEXXfzP0VW7u+T2iJ54cR4tLXkU7wNRwqM= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB0969.namprd21.prod.outlook.com (52.132.146.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.3; Sat, 3 Mar 2018 22:36:51 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:36:51 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Axel Lin , Thierry Reding , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 197/219] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Thread-Topic: [PATCH AUTOSEL for 4.9 197/219] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Thread-Index: AQHTsz8l7KTVah3dq0Ci75vJyeiB/w== Date: Sat, 3 Mar 2018 22:29:51 +0000 Message-ID: <20180303222716.26640-197-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB0969;7:MVpHlioiihj1LUyVtXnwW9FIQ6P2dxWV5jk2tagW9dHcpPdZOvEgoNjpfOePiJhNh3WZ3eSY4SPoNvlh9Sofa+3bNZVi2NK+Gq9ubZjVdNvFZENaj1sFTt84JdkrGvGkTaIF2ZrwdO6hXnfmgiUFM3y9OLk59n32DR8Xyxo/8UblHaDKjtxP//BDm2v4VBWho+hcbAUkYL4jAvpMmifea2bHa04M8AoDTXPJFlSF3xCeLBd1+MvnUWrPvGWWUpVV x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f5653887-27ce-418d-b819-08d58157422a x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020);SRVR:MW2PR2101MB0969; x-ms-traffictypediagnostic: MW2PR2101MB0969: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(61426038)(61427038)(6041288)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB0969;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0969; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(39380400002)(366004)(396003)(39860400002)(189003)(199004)(105586002)(5250100002)(53936002)(39060400002)(107886003)(36756003)(6436002)(4326008)(2501003)(6486002)(1076002)(2906002)(6512007)(2900100001)(54906003)(110136005)(305945005)(106356001)(7736002)(316002)(3280700002)(478600001)(14454004)(59450400001)(10290500003)(68736007)(2950100002)(72206003)(3660700001)(66066001)(3846002)(6116002)(102836004)(6506007)(5660300001)(10090500001)(25786009)(186003)(26005)(99286004)(22452003)(81166006)(76176011)(86362001)(81156014)(97736004)(86612001)(8676002)(8936002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0969;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: dT3q2NNSqw26WEXbc74wJbzha49N8/sYcfgsO7MlGfp1fNv3tF4n3xvE5rQ3FB7cw4skE1JQ24PTUpS8uieCB3BUQHk7rnOBOFyhW6DQhrfCF4CzrytJXXtaDJTg4pOUjzHe+vAj2jfdOEGVloHJWTiKxD6MTt6TtOguozALdQc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5653887-27ce-418d-b819-08d58157422a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:29:51.3695 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0969 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Axel Lin [ Upstream commit 8472b529e113e0863ea064fdee51bf73c3f86fd6 ] Fix trivial copy/paste bug. Signed-off-by: Axel Lin Reviewed-by: Linus Walleij Fixes: ef1f09eca74a ("pwm: Add a driver for the STMPE PWM") Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- drivers/pwm/pwm-stmpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-stmpe.c b/drivers/pwm/pwm-stmpe.c index e464582a390a..3439f1e902cb 100644 --- a/drivers/pwm/pwm-stmpe.c +++ b/drivers/pwm/pwm-stmpe.c @@ -145,7 +145,7 @@ static int stmpe_24xx_pwm_config(struct pwm_chip *chip,= struct pwm_device *pwm, break; =20 case 2: - offset =3D STMPE24XX_PWMIC1; + offset =3D STMPE24XX_PWMIC2; break; =20 default: --=20 2.14.1