RE: [PATCH v2 2/2] regulator: fp9931: Fix Runtime PM usage count underflow in v3p3 ops
"Robby Cai (OSS)" <[email protected]> Fri, 31 Jul 2026 08:35:52 +0000
| Newsgroups | dev.linux.lists.imx,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <AS8PR04MB81507E9D056A99F43F09C9ECF2C82@AS8PR04MB8150.eurprd04.prod.outlook.com> |
>-----Original Message----- >From: Andreas Kemnade <[email protected]> >Sent: Sunday, July 26, 2026 3:51 AM >To: Robby Cai (OSS) <[email protected]> >Cc: [email protected]; [email protected]; [email protected]; >[email protected] >Subject: Re: [PATCH v2 2/2] regulator: fp9931: Fix Runtime PM usage count >underflow in v3p3 ops > [...] >> --- >> drivers/regulator/fp9931.c | 7 +++++-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/regulator/fp9931.c b/drivers/regulator/fp9931.c >> index ff743a8b0dfe..0d926546221a 100644 >> --- a/drivers/regulator/fp9931.c >> +++ b/drivers/regulator/fp9931.c >> @@ -214,8 +214,7 @@ static int fp9931_v3p3_enable(struct regulator_dev >> *rdev) return ret; >> >> ret =3D regulator_enable_regmap(rdev); >> - if (ret < 0) >> - pm_runtime_put_autosuspend(data->dev); >> + pm_runtime_put_autosuspend(data->dev); >> >if autosuspend kicks in, the whole chip will be powered off, so if no >vcom/vposneg is enabled, v3p3 will also be disabled. Thanks for the review. That makes sense. Please disregard this patch for no= w. Regards, Robby > >Regards, >Andreas