On Mon, Apr 15, 2019 at 09:17:38AM +0000, Pascal PAILLET-LME wrote: > +int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) > +{ > + struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); > + u32 val; > + > + val = readl_relaxed(priv->base + REG_PWR_CR3); > + > + return (val & priv->ready_mask); > +} You should probably add a get_status() callback using this.
Attachment:
signature.asc
Description: PGP signature