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 D44052566 for ; Tue, 18 Apr 2023 12:25:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59188C4339B; Tue, 18 Apr 2023 12:25:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681820725; bh=qYSl8r7/TM4iH+WEQqVwTH4PG7tpqvsm8isoGbxETPA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dZd7k8a6z0qwXstg1KtJlHa4a+PpJM32u7QDKnTOSqg5rf6FAhsETSFuv+BIj6KZo 9foeS0ro8WSikVZkzGLc3jqjXPKa2lZ3zd4g7/bxi+nlbjr2uuloMDBEsah5GRCOWj Jz0NiVG2qpYhc/K8SdTsWo4cXnxaBeD37wSnBBEg= 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.14 05/37] gpio: davinci: Add irq chip flag to skip set wake Date: Tue, 18 Apr 2023 14:21:15 +0200 Message-Id: <20230418120254.865719180@linuxfoundation.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120254.687480980@linuxfoundation.org> References: <20230418120254.687480980@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 e4b3d7db68c95..958c06ab9ade4 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -301,7 +301,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