Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9986668ybi; Wed, 24 Jul 2019 13:35:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFfvcJUzlZkHJEpTz06vRv2LQR2DYZusK2Kwvvzq1lq2typpeZGp38/NUSTdfiJOlGVbK4 X-Received: by 2002:a17:90a:2430:: with SMTP id h45mr91576400pje.14.1564000554092; Wed, 24 Jul 2019 13:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564000554; cv=none; d=google.com; s=arc-20160816; b=Igl0PGKAm4KoUqKNFEI9Uc2CfCy7iFYYrOFO3aEJYboByycuCA7b66libXx7+L3Wdy j4sE59RdxLZXhliMtnmJ/UjevZ0KNpjYCjO9IK3WNxSWzUfp6n45LP3jq4eaC19ytE3W 9imW5gZ6HV33GigSUBf8oa2yxb03MEXyzItg2bF87ZpAklO1RfQt+p9KkvMaxVYWLOOL jQUx/Labnb5urEVd8/H7VKIjyqbNHQAtOUo/5RaPz2hzqPHPlVU4KfNcVONGzaLFZzAh Is+tc1YdFNRbLWbv/BAy2OtZqkeYMTewk5fNbQr4JoeKy+EdB6ISfFuwAQ9sLvqU5T2X fFZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xhgHIiFmpnSxdTAcSOsZLpwwx5jEqLlYY2PRwEnGe98=; b=Wwx7AsElcuuSw4kpi3zxR427BREnEXODi8U3KbV5clnBX5hGtt7fFyu+q/jcJ1e40y ej1w4Pev785dCDjrr9niNfJFCzJY8GJIUUUkzJ7KRBOTx6z49Ehcxb36sSUuf156BsmC DULrZdIh4OjEBJgXJCSHzvyI/13tPE06hSoKmInhUTr6ri6m0yKbraQVTuvylcxH5MVR Ro5YAsVDthDlWUowI3oe66ShCBufeaYCiV43MhS0SznZKDNeYDut36coReJTQLciopFR 6nfQfREGeyvNuWjVNs1/7AIi1NYfqxAGRmdAxOlSFSCLgP4xD5qmjDMZaYiRODAxTdqZ zU/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jBwxP9J2; 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 t135si14958641pfc.251.2019.07.24.13.35.39; Wed, 24 Jul 2019 13:35:54 -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; dkim=pass header.i=@kernel.org header.s=default header.b=jBwxP9J2; 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 S1729268AbfGXUe2 (ORCPT + 99 others); Wed, 24 Jul 2019 16:34:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:44152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729264AbfGXT0t (ORCPT ); Wed, 24 Jul 2019 15:26:49 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4F4CA20659; Wed, 24 Jul 2019 19:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563996408; bh=DiAvjLi+T1b+gYMiXdEeABcglqyLWn5tDrZylTP3nH4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jBwxP9J2IVSvPsVITfzBDCn8f6YjyPM0NG/rUkd+8nfRU6ldJh9HJH2dHoqbLieQm QYNycSvfSZrLQbPN2FDw5XcJn/9EBupOlnoHC2ezRkaAiRAFAQgLLn5KmuQrnAMk4W ytLXh541IqWVF5MrYtIY6ITzAzfEyW65gwQlwDPA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Russell King , Grygorii Strashko , Tony Lindgren , Linus Walleij , Sasha Levin Subject: [PATCH 5.2 087/413] gpio: omap: fix lack of irqstatus_raw0 for OMAP4 Date: Wed, 24 Jul 2019 21:16:18 +0200 Message-Id: <20190724191741.323349310@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 64ea3e9094a1f13b96c33244a3fb3a0f45690bd2 ] Commit 384ebe1c2849 ("gpio/omap: Add DT support to GPIO driver") added the register definition tables to the gpio-omap driver. Subsequently to that commit, commit 4e962e8998cc ("gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume()") added definitions for irqstatus_raw* registers to the legacy OMAP4 definitions, but missed the DT definitions. This causes an unintentional change of behaviour for the 1.101 errata workaround on OMAP4 platforms. Fix this oversight. Fixes: 4e962e8998cc ("gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume()") Signed-off-by: Russell King Signed-off-by: Grygorii Strashko Tested-by: Tony Lindgren Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/gpio/gpio-omap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 9276ef616430..7632c98aa3a4 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -1453,6 +1453,8 @@ static struct omap_gpio_reg_offs omap4_gpio_regs = { .clr_dataout = OMAP4_GPIO_CLEARDATAOUT, .irqstatus = OMAP4_GPIO_IRQSTATUS0, .irqstatus2 = OMAP4_GPIO_IRQSTATUS1, + .irqstatus_raw0 = OMAP4_GPIO_IRQSTATUSRAW0, + .irqstatus_raw1 = OMAP4_GPIO_IRQSTATUSRAW1, .irqenable = OMAP4_GPIO_IRQSTATUSSET0, .irqenable2 = OMAP4_GPIO_IRQSTATUSSET1, .set_irqenable = OMAP4_GPIO_IRQSTATUSSET0, -- 2.20.1