Hi, On Mon, Nov 25, 2013 at 10:26:43PM +0100, Daniel Mack wrote: > +static int dsps_resume(struct device *dev) > +{ > + struct dsps_glue *glue = dev_get_drvdata(dev); > + const struct dsps_musb_wrapper *wrp = glue->wrp; > + struct musb *musb = platform_get_drvdata(glue->musb); > + void __iomem *mbase = musb->ctrl_base; > + > + dsps_writel(mbase, wrp->control, glue->context.control); > + dsps_writel(mbase, wrp->epintr_set, glue->context.epintr); > + dsps_writel(mbase, wrp->coreintr_set, glue->context.coreintr); > + dsps_writel(mbase, wrp->phy_utmi, glue->context.phy_utmi); > + dsps_writel(mbase, wrp->mode, glue->context.mode); > + dsps_writel(mbase, wrp->tx_mode, glue->context.tx_mode); > + dsps_writel(mbase, wrp->rx_mode, glue->context.rx_mode); > + > + //musb_port_reset(musb, false); ???? -- balbi
Attachment:
signature.asc
Description: Digital signature