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 27DA92566 for ; Tue, 18 Apr 2023 12:28:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4393C433D2; Tue, 18 Apr 2023 12:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681820902; bh=VAhtAC8KnKiLXG5iNC29GiUQPkEjs6BAfPeRFB1/ynI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i50IBFKrmDshIViF2M0dnHgNR9uDacYhEGR7h8+fnUFyluWuVm/QRDQulxrNHruUH dh9RJoqguRY5Gofdl8Gu2OQ/cw4vxNfzZ1TUiQZCVepfbyAUjIv9S8c9gOo7Nr5IjE R9pgsg/wqycPsMyyUIVgXpFlQu+iJ4xfoBz2dsYc= 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 5.4 17/92] gpio: davinci: Add irq chip flag to skip set wake Date: Tue, 18 Apr 2023 14:20:52 +0200 Message-Id: <20230418120305.399604890@linuxfoundation.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120304.658273364@linuxfoundation.org> References: <20230418120304.658273364@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 e0b0256896250..576cb2d0708f6 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -333,7 +333,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