From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C42B02566 for ; Tue, 18 Apr 2023 12:25:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49FCEC433EF; Tue, 18 Apr 2023 12:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681820741; bh=+QyzP0qOaEBIyLyEy+SyyrOV94mUM8AlxtGFbcpr5+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=07g69O14is7pDrdOD8Bqm9Z35ptNIqYnmjEYpsLDnYIX0siT6aY8IipbQpMu+aa6m yB3JiXYlHirl8+2wN5b6nf5+tCNvKN1+TIE1ktuEyPbA19j02kDfbClKL5sSGtCMgd 9za5Ktr3qFaAaIHX02eCqI69s5mSG5OYWbmNS3k8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Dhruva Gole , Linus Walleij , Bartosz Golaszewski , Sasha Levin Subject: [PATCH 4.19 14/57] gpio: davinci: Add irq chip flag to skip set wake Date: Tue, 18 Apr 2023 14:21:14 +0200 Message-Id: <20230418120259.213655209@linuxfoundation.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120258.713853188@linuxfoundation.org> References: <20230418120258.713853188@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Dhruva Gole [ Upstream commit 7b75c4703609a3ebaf67271813521bc0281e1ec1 ] Add the IRQCHIP_SKIP_SET_WAKE flag since there are no special IRQ Wake bits that can be set to enable wakeup IRQ. Fixes: 3d9edf09d452 ("[ARM] 4457/2: davinci: GPIO support") Signed-off-by: Dhruva Gole Reviewed-by: Linus Walleij Signed-off-by: Bartosz Golaszewski Signed-off-by: Sasha Levin --- drivers/gpio/gpio-davinci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index abb332d15a131..ead75c1062fbc 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -327,7 +327,7 @@ static struct irq_chip gpio_irqchip = { .irq_enable = gpio_irq_enable, .irq_disable = gpio_irq_disable, .irq_set_type = gpio_irq_type, - .flags = IRQCHIP_SET_TYPE_MASKED, + .flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_SKIP_SET_WAKE, }; static void gpio_irq_handler(struct irq_desc *desc) -- 2.39.2