Thread (10 messages) 10 messages, 2 authors, 2026-02-24

Re: [PATCH v2 4/5] input: drv260x: Fix unbalanced regulator_disable() call

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2026-02-19 02:43:33
Also in: lkml

Hi Yauhen,

On Sun, Feb 15, 2026 at 04:14:34PM +0200, Yauhen Kharuzhy wrote:
quoted hunk ↗ jump to hunk
+static void drv260x_remove(struct i2c_client *client)
+{
+	struct drv260x_data *haptics = i2c_get_clientdata(client);
+
+	regulator_disable(haptics->regulator);
 }
This will result in power being shut off the first thing during
unbinding, which is too early.

I switched this to devm_add_action_or_reset() and applied.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help