Re: [PATCH v2 4/4] usb: musb: dsps: add support for suspend and resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 26, 2013 at 01:30:24PM +0100, Daniel Mack wrote:
> On 11/25/2013 10:32 PM, Felipe Balbi wrote:
> > On Mon, Nov 25, 2013 at 10:30:37PM +0100, Daniel Mack wrote:
> >> On 11/25/2013 10:29 PM, Felipe Balbi wrote:
> >>> 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);
> >>>
> >>> ????
> >>>
> >>
> >> Urgs. Development left-over. Sorry. You want me to resend the whole
> >> series or just this last patch?
> > 
> > just the last patch is fine :-)
> 
> Sorry, there was one more hunk that shouldn't be there. I'll resend a v4
> with all the patches included again, for reference.

ok, thanks :-)

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux