Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3784217ybi; Mon, 29 Jul 2019 12:33:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPk6q4BdRjLcEbF52oICs+jxgHDaKQcQxyQCIUh5TmBOo7i+jg4tLNTuo+zJhuQ4KDGhZM X-Received: by 2002:a17:902:bcc4:: with SMTP id o4mr109492190pls.90.1564428813164; Mon, 29 Jul 2019 12:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564428813; cv=none; d=google.com; s=arc-20160816; b=vMivbqBh2nZsBGb0UNBOjW+ifY8mJ7k2UYUSMYXYYDY11o9a+4/GvnAgxYLyoEYXXB WHERQdy4/CN/Cq/t8ql3jEJSha0rv/QxVIUvrBi28lpVOWw2xWJ3qWI46qiLa6LRuAjY OjpZ8yxfZImklNpjX4M+xAYXeDmTU52x6bSgldNVMTDNVV3fwgIenHuil5Vm/LQ/1BF6 /U2sdSXyr83FD3O/B3huy6ma/L6xLssfS2QCiaziz3qkdc95pTURrEAyqMK5BecsAOYs OqOHUhYbs6LpxofriqXwp83PdJQ05pD+SZYrFHiVejjYUHoQqlQO1x6VG37xvrv3aCf2 tfGw== 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=iHGBGigCjVDvdKAYuiOhmkGq6wpXBsPWw0TM0pTRHTg=; b=Jv2yy/5xwRt7eM4oyl8a5Vv3M223PoI/p+VppjQcbCC91d8Bdw96kk9iJK+wlRW4xD hX7uqS3pYqy+XzBY6+ZzDX8z2S0oLFxMwb0gFlfuoodVuvm7AkRY0HeCRHqKUO5EjpNd DiKRLGWIS8suK+ZuC3Hz8Ij1cCC0tL1C9aRp3lUii4SANq4VTawACDYbzx5Pu47Fw8CS L3i+4rzooJdSC5npd9udsH+wPy84VyHIgSnuUSY67U5XKvyAo4vpKq+qtNz/ST1q4GV3 bLofJ+sOU5FVYsO6YyQwcV1KxoxWtWOpMiZjbLWfedfcPcI110z3kHtB4qTkGMDrre7h gIyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n3Kw6SgW; 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 b92si24777817pjc.17.2019.07.29.12.33.18; Mon, 29 Jul 2019 12:33:33 -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=n3Kw6SgW; 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 S1729691AbfG2TZo (ORCPT + 99 others); Mon, 29 Jul 2019 15:25:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:38050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729678AbfG2TZm (ORCPT ); Mon, 29 Jul 2019 15:25: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 6BEC221773; Mon, 29 Jul 2019 19:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428341; bh=Hf6q3RVLx0RTBYeYq9ySadC1n+VmlTVFJ7TzbNYwkRg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n3Kw6SgWpVnhWPT7FBcLV9CAxEPX+0jEF6AWR1A5VSMIcmUVJQJAKYE97PIc/2JI8 aCfPuOk9WX+v32kWNyoH6BjxPPf6iP/9kQa9Y0uAYsHJ6043XY/qcUnUbQKj+rdbDd gcRf90Q335yu/whNVFGcnY73XLy3n6k2g0kyxV/c= 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.14 045/293] gpio: omap: fix lack of irqstatus_raw0 for OMAP4 Date: Mon, 29 Jul 2019 21:18:56 +0200 Message-Id: <20190729190826.445716184@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@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 83c6843db50c..abe54659b1f4 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -1604,6 +1604,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