Received: by 10.213.65.68 with SMTP id h4csp497566imn; Fri, 16 Mar 2018 09:32:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELsT7OmRBM4NJJkIh8kMJt0MC58X3wwwez8KL/DhK7/wP4ugprH7ewn/VpbtBfjyNeXN+iM6 X-Received: by 10.99.116.30 with SMTP id p30mr1962905pgc.60.1521217939996; Fri, 16 Mar 2018 09:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521217939; cv=none; d=google.com; s=arc-20160816; b=onzptNR7OdEheWMcaWlIPkwxshkHbEOx0U8k2NoM7R0o2REc0k0T2gRNDaT3BmK3+g x0VyaK+8uhzGnNmJJ64vcKvgUmHtS8q/xgsN1rDCKB36ZR19d1fBHHTGHnRe9WOCf0Nh koGq46e9MgoWH43dtu8bdy1S6nYX8aSf4sGzSdM+LKdt+mW67aq1PKRTq7eISglmRblV q78REL3ZgKpGg94mPW5NBCYfFkn4yM9HEguntqGH7H0OOWiFnyZdHQu0mrZ/AfqOFK/k UVUgt+jWM7wmVXzJ1LRsWPuqpEt8VLp1CGaK46V3WpC2qloa6oF0R06N8nP/wxFbvrvp 44bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=IqOJXIm+jVUR9ePtCoMPTRHUC0j8deJl1vt2FwXaXkg=; b=Pda1dL3wmAtH034dPzNYJ4DMk606796+pibXI6MFrHVEIrUvqvRKhxY8fdW/fITcl2 qZhI4XzQIg9AKOJ6QAkXuTkuFWRhTwOlJd86eoaTKRtXfbqLd6/vl8DN9B/NdKHWFxEg a+4bD2IKCnG97wQuOmyK7MZUEItvstW9rNCN+FTrRaiSmWgPzZf7SYoa7p9OxWZhVXiN dGRMkoJMk4AX3teEWWNOuSB5c8m/nE9HguF0rlcWrHYDJaX8TsUrzgRWqt18lg6AgDt+ MUIFWTxwGE0Qi+YHQu/29qoU7UqVUMnf9edGBSAVt7m/Gn0EP45fkwENKB5mZCQYibQU WYXQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si5205883pgs.236.2018.03.16.09.32.04; Fri, 16 Mar 2018 09:32:19 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964855AbeCPPik (ORCPT + 99 others); Fri, 16 Mar 2018 11:38:40 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42984 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754573AbeCPPii (ORCPT ); Fri, 16 Mar 2018 11:38:38 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 51F61901; Fri, 16 Mar 2018 15:38:37 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Axel Lin , Linus Walleij , Thierry Reding , Sasha Levin Subject: [PATCH 4.14 068/109] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Date: Fri, 16 Mar 2018 16:23:37 +0100 Message-Id: <20180316152333.691702673@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152329.844663293@linuxfoundation.org> References: <20180316152329.844663293@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ 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 Signed-off-by: Greg Kroah-Hartman --- drivers/pwm/pwm-stmpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pwm/pwm-stmpe.c +++ b/drivers/pwm/pwm-stmpe.c @@ -145,7 +145,7 @@ static int stmpe_24xx_pwm_config(struct break; case 2: - offset = STMPE24XX_PWMIC1; + offset = STMPE24XX_PWMIC2; break; default: