Hi Kishon,

On Tue, Nov 20, 2018 at 11:02:34AM +0530, Kishon Vijay Abraham I wrote:
> > > +static int cdns_dphy_config_from_opts(struct phy *phy,
> > > +                               struct phy_configure_opts_mipi_dphy *opts,
> > > +                               struct cdns_dphy_cfg *cfg)
> > > +{
> > > + struct cdns_dphy *dphy = phy_get_drvdata(phy);
> > > + unsigned int dsi_hfp_ext = 0;
> > > + int ret;
> > > +
> > > + ret = phy_mipi_dphy_config_validate(opts);
> > > + if (ret)
> > > +         return ret;
> > > +
> > > + ret = cdns_dsi_get_dphy_pll_cfg(dphy, cfg,
> > > +                                 opts, &dsi_hfp_ext);
> > > + if (ret)
> > > +         return ret;
> > > +
> > > + opts->wakeup = cdns_dphy_get_wakeup_time_ns(dphy);
> 
> Is the wakeup populated here used by the consumer driver?

It's supposed to, if it can yes.

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Attachment: signature.asc
Description: PGP signature

Reply via email to