Received: by 10.213.65.68 with SMTP id h4csp1753369imn; Mon, 19 Mar 2018 12:18:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELtX6AjZim1B8Bi+9OQDL2CDkjA1fKyR50c5FuGtclP7wpQh5CygCaBZ1DQeV8d7EdHotwOg X-Received: by 10.101.66.6 with SMTP id c6mr472017pgq.35.1521487126812; Mon, 19 Mar 2018 12:18:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521487126; cv=none; d=google.com; s=arc-20160816; b=kUaPzGUE68D37ySp+i+xCFf3OJ3MOuvNaZlPqfTMDMUVyTWpBLQ48+e9u7wg7bGt/o pfZhuq0ifraABDZE5oHZLM2tcYL9GDEXz1kd5d1m6f3FR/6GBpk0yUSBC9RUhVLzIu4J 5THupDgTUhB8B7gLcF7GHx3Zw1n21qm0IuKdunaG3sKYkrNxZsk+mS+z/UVWbVkJ5FCx 9juIXziEVaWhK3d4pe16PyRfNcvc6UDOaeifnn120h44RQVsW+5FW6sbY/08evxlNshT bZDh8hYjmg19K2E2VfZ869Yjj1x4w+xRe2IJGjUqtHqgy1FtZCaK6qH/a5KGPG6L16OZ +6gg== 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=r36Mp3VgBLM3fr3DxwIfi/UXkAy4ZwVIAHY0E0fbK98=; b=TF3s9nEQqrURUB6mYsM/D7YNtjWwvpyYKvHfSlc3RtwMdUSB8G4gJ2JthTeR04IUUG sRNrm28VuTVqmNUoSLdQ+SwMF7eNeL3MxRl0VvlMkUuEO3dTKHBlmNjGvBZXuLS1V4qb cD5bIIB2wTkQICHMW6yL4bFAzgE/mlM9vUv9qlAnHK/x5jiOhV9/rfmm9/zut1CGb5lA 9RA+bsQOgIc8fJSPs+uRs3AFUmXupl2GLVGkC17IUvByrHsJs7Z+Ol8VY8jGxTH/Ebvl m2CYhFe6+FGCOGLkCfnR1NxTEyJ+Pl3Km7h+tJowB5msLDLq5TmR8qocJSKDOPXo++tS zM3w== 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 u25si355582pgv.221.2018.03.19.12.18.32; Mon, 19 Mar 2018 12:18:46 -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 S1031893AbeCSTRH (ORCPT + 99 others); Mon, 19 Mar 2018 15:17:07 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50738 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969621AbeCSS0Q (ORCPT ); Mon, 19 Mar 2018 14:26:16 -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 28C4F113C; Mon, 19 Mar 2018 18:26:16 +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.9 187/241] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Date: Mon, 19 Mar 2018 19:07:32 +0100 Message-Id: <20180319180758.893342042@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319180751.172155436@linuxfoundation.org> References: <20180319180751.172155436@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.9-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: