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 6EF0C3ED106; Tue, 17 Mar 2026 16:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773765733; cv=none; b=pW1WlQ8Cv6zcubrOvzlGgLp8TFVvrZeZFmIwZKO1oO4EFI0wbRAOIQJ38cNnqaRJvbkjAD0Q/vZdbrJ5enAgpK68kvNif46OILZ6r0tq1A6ElNI37axuR4ScZ1rlXSX54Z5J/+4k/wjFR5Td6xEWr8oTlk+eD2S3BllW2O472pY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773765733; c=relaxed/simple; bh=+WodMXnlueGCUhO1GDaosJ1tAau5bo4oSxNI5pHky6M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MbHwN0TLBdiFLDaBiBgPz7268NYxtmAFZxpZBQRzzHtJ4AIpOeipVIsiIFp2shejFb8q/8OUTEfqVz5MfEXXN2JohH97KEkUzXQCKDgS2SNCwJ9qxLyPsJYgXmd4snL9NxE3fCxr2a6XgRXGhDwpffyYCr4C+OmygRKmiAQI6Ac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VOR1MisH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VOR1MisH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC11CC4CEF7; Tue, 17 Mar 2026 16:42:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773765733; bh=+WodMXnlueGCUhO1GDaosJ1tAau5bo4oSxNI5pHky6M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VOR1MisHFajLjc4hk8AysFO+0a98bIFbUVo5cGMOxfQQ0zjCibCstRPP3/Ml6v35h MIbVLfXC8zslTcl4LrqFtBqDCJyNWphPOVNnE04B8I62QHXrs4iVfWFmaba3LAG5p0 s7Ve9TVm5IEEtDIsG6Ybrk53/vJNZCJdphciDrR8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Peng Fan , Mark Brown , Sasha Levin Subject: [PATCH 6.19 082/378] regulator: pca9450: Correct interrupt type Date: Tue, 17 Mar 2026 17:30:39 +0100 Message-ID: <20260317163010.033495953@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260317163006.959177102@linuxfoundation.org> References: <20260317163006.959177102@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Peng Fan [ Upstream commit 5d0efaf47ee90ac60efae790acee3a3ed99ebf80 ] Kernel warning on i.MX8MP-EVK when doing module test: irq: type mismatch, failed to map hwirq-3 for gpio@30200000! Per PCA945[X] specification: The IRQ_B pin is pulled low when any unmasked interrupt bit status is changed and it is released high once application processor read INT1 register. So the interrupt should be configured as IRQF_TRIGGER_LOW, not IRQF_TRIGGER_FALLING. Fixes: 0935ff5f1f0a4 ("regulator: pca9450: add pca9450 pmic driver") Signed-off-by: Peng Fan Link: https://patch.msgid.link/20260310-pca9450-irq-v1-1-36adf52c2c55@nxp.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/pca9450-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/pca9450-regulator.c b/drivers/regulator/pca9450-regulator.c index 5fa8682642505..2205f6de37e7d 100644 --- a/drivers/regulator/pca9450-regulator.c +++ b/drivers/regulator/pca9450-regulator.c @@ -1369,7 +1369,7 @@ static int pca9450_i2c_probe(struct i2c_client *i2c) if (pca9450->irq) { ret = devm_request_threaded_irq(pca9450->dev, pca9450->irq, NULL, pca9450_irq_handler, - (IRQF_TRIGGER_FALLING | IRQF_ONESHOT), + (IRQF_TRIGGER_LOW | IRQF_ONESHOT), "pca9450-irq", pca9450); if (ret != 0) return dev_err_probe(pca9450->dev, ret, "Failed to request IRQ: %d\n", -- 2.51.0