lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 14 Jun 2020 12:29:03 +0200
From:   Krzysztof Kozlowski <>
To:     Oleksij Rempel <>,
        Pengutronix Kernel Team <>,
        Shawn Guo <>,
        Sascha Hauer <>,
        Fabio Estevam <>,
        NXP Linux Team <>,
        Wolfram Sang <>,,,
Cc:     Marc Kleine-Budde <>,
        Oleksij Rempel <>,
        Krzysztof Kozlowski <>,
Subject: [PATCH v2 1/2] i2c: imx: Fix PM runtime inbalance in probe error path

When pm_runtime_get_sync() fails in probe(), the error path should not
call pm_runtime_put_noidle().  This would lead to inbalance in

Fixes: 588eb93ea49f ("i2c: imx: add runtime pm support to improve the performance")
Cc: <>
Signed-off-by: Krzysztof Kozlowski <>


Changes since v1:
1. New patch
 drivers/i2c/busses/i2c-imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 0ab5381aa012..6e45958565d1 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -1239,8 +1239,8 @@ static int i2c_imx_probe(struct platform_device *pdev)
 	clk_notifier_unregister(i2c_imx->clk, &i2c_imx->clk_change_nb);

Powered by blists - more mailing lists