Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1006143ybi; Fri, 2 Aug 2019 07:51:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzS/8TqNkrz9cqKUWSM2xN3+RW9pZimxbo3bHE83JuvpjrwKWOMHOz9zhgXM/0zSy9J+R0 X-Received: by 2002:a62:750c:: with SMTP id q12mr61848240pfc.59.1564757494949; Fri, 02 Aug 2019 07:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564757494; cv=none; d=google.com; s=arc-20160816; b=WnOvxqKiu6WEqGyrWclAladPnrCegE14gUFl72DbGLrho5jK68nX5nwl30Lt1T8hPY Hky1Uugr4xPUzxyUdCvWjKP0e7SYSBZYlrunqhCtsKHEEvE4xhqJ6gqr1cSKkgf6OiPZ QZeHilNaCmL+p1F8q0J307ivWcDV0gE++9Wr3j2xkQQBJ3f2bVc3BnMwzFXAK6qY6snW 5K7YG1rP/SZrQajFuQxbcwq0TLlvUJ8Q9Jum4/mtVi35554QfQMd3JGUWh4+HYkenzM0 6INBplKR7DD7axuKn61TM0C+LmnJ0rMmUt8aZLbORAe6Wnoqq3si96m29FQr393/6jpa 3Qdw== 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=1ZnUAjeeZdxBNwg1usK3CRpyun6XAbQHwmHfJ3QbREQ=; b=WrH1vKCmetvXF/Ddw3VCm1ds1nzF6JQ6wce6wzN+V0CFCSNfYPUXIicUEKa/ejFJ6x aqXEPjiLCbS6caIaQP+qqfqmz4MoBPUTRoF7q9AVRSiXpUQFsZVnuK+rD/HM2QOWbswY Fu7SKw9rnws8ilkPguL3mCiKKbpNQT84dr5/xMq1gfh0zZenHElaMaMs5NUaPF7FlGVY /ZKrD5exG0EkomhDszhY5Qx9xSqerzGP3/0u80CLtMpd54DcIjMc9tzscbAJeLP+SKAy 51fX5E03t8OtjA+97CSdoSucJnoi4eYcBuyZvkRlFYNW048HvIo+f54hNAuzf4PY+zq2 OmAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SHJ8MbJF; 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 y2si37914224pgh.524.2019.08.02.07.51.19; Fri, 02 Aug 2019 07:51:34 -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=SHJ8MbJF; 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 S2390912AbfHBJap (ORCPT + 99 others); Fri, 2 Aug 2019 05:30:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:56298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389945AbfHBJam (ORCPT ); Fri, 2 Aug 2019 05:30:42 -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 D601E21783; Fri, 2 Aug 2019 09:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564738241; bh=DqMKem0uWVubqF2MCxHQ/1EcICPinDd1aYtRTB1dpJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SHJ8MbJFNmv8ITMytUl/5bAFOnPYZ8QZ8KG0SG1ODG/GQE2O56tkIGvJkq2ZO4BAE tg49hDztrb1kQZS0tn+oXd0M+f+iSkIEUnxjxbC7036Y0du5tYNaAsBPQWSmlooq1M Ygy2rPPtC3jGTvITSaVKVxGJE6XThRqactflqQVk= 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 4.4 027/158] gpio: omap: fix lack of irqstatus_raw0 for OMAP4 Date: Fri, 2 Aug 2019 11:27:28 +0200 Message-Id: <20190802092209.131589780@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190802092203.671944552@linuxfoundation.org> References: <20190802092203.671944552@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 c8c49b1d5f9f..f23136825a6e 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -1611,6 +1611,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