RE: [PATCH 1/7] usb: musb: Add context save and restore support

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

 



> >+#ifdef CONFIG_PM
> >+void musb_platform_save_context(struct musb_context_registers
> >+		*musb_context)
> >+{
> >+	musb_context->otg_sysconfig = omap_readl(OTG_SYSCONFIG);
> >+	musb_context->otg_forcestandby = omap_readl(OTG_FORCESTDBY);
> 
> Any reason not to store: OTG_INTERFSEL
> Depending on reset value is not a good idea.
> 

Good point - on OMAP3, it would not matter, but on OMAP4 for
sure, this is configurable for multiple modes.

Someone care to spin a patch later?

- Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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