Re: [PATCH v4 3/3] clk: twl: add TWL6030 support
From: Andreas Kemnade
Date: Thu Oct 10 2024 - 08:32:57 EST
Am Thu, 10 Oct 2024 14:36:58 +0300
schrieb Roger Quadros <rogerq@xxxxxxxxxx>:
> > + if (cinfo->type == TWL_TYPE_6032)
>
> Shouldn't this be done for TWL_TYPE_6030?
>
oops, that flipped through. Well, prepare() works seamlessly...
> > + ret = twlclk_write(cinfo, TWL_MODULE_PM_RECEIVER,
> > VREG_STATE,
> > + ALL_GRP <<
> > TWL6030_CFG_STATE_GRP_SHIFT |
> > + TWL6030_CFG_STATE_OFF);
> > + else> + ret = twlclk_write(cinfo,
> > TWL_MODULE_PM_RECEIVER, VREG_STATE,
> > + TWL6030_CFG_STATE_OFF);
> > +