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 6B63323E342; Mon, 13 Apr 2026 16:46:06 +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=1776098766; cv=none; b=VcX2r7TAdSS/DAdyUo4rS7rJwUE97pbEjPC6gMkl2bO2pH3WKxTET5nRwFrOK51rWWS4xqBta/MERPUX8SGrJLO8YjlQp/ozJctpZlM0yEJU9bse31s/Mwv5O1tmvSkbCgroA6Q8upWUuxY7FGjw4GOce3EdU9hJq499l6yiocY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776098766; c=relaxed/simple; bh=qC9TJqdp0dDICrSmY8QVIDhaqGGU2SR4eAR+nrihhoM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YF1Aa/Gu/0I4k45Kj4a+3KDOGjKcmB+R9xW2k8xtxoEe2dGQFxqY89mYTRTjVRyp+XrFe8J8Rjx3tr9J2DbkR42HDcXi6rNoGt/f23s2ciA5orB6lYLtq2ZYWYOrqQSiWdXgCFkRHLr2cgMhjJ4z9EDNAjgiVBpzEDcaTxs4xQw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VoPj766C; 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="VoPj766C" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03A2EC2BCAF; Mon, 13 Apr 2026 16:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776098766; bh=qC9TJqdp0dDICrSmY8QVIDhaqGGU2SR4eAR+nrihhoM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VoPj766CE9OTGmcI6Q+tnru/zEVg4AFRFLnEdOKC0ob/WFmNopVik7l1exEB3FuCf DOQJwBHc0kzGUxzMXrbD0OpEuYiKX+wuyJonPi9FyyS2vRy/C9BnhI8ugUBAYxMaKS fFdjCXmL84YmoJ4THdcUconoIFGz9oDQAJ7nsI8g= 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 5.10 081/491] regulator: pca9450: Correct interrupt type Date: Mon, 13 Apr 2026 17:55:26 +0200 Message-ID: <20260413155822.077627050@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260413155819.042779211@linuxfoundation.org> References: <20260413155819.042779211@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 5.10-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 6ec2ad5b9efcc..6f2f097b677d2 100644 --- a/drivers/regulator/pca9450-regulator.c +++ b/drivers/regulator/pca9450-regulator.c @@ -773,7 +773,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) { dev_err(pca9450->dev, "Failed to request IRQ: %d\n", -- 2.51.0