Re: [PATCH] usb: musb: support for OFF-mode

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

 



ext Gupta, Ajay Kumar wrote:
Hi,
-----Original Message-----
From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-
owner@xxxxxxxxxxxxxxx] On Behalf Of Arnaud Mandy
Sent: Friday, January 22, 2010 2:58 PM
To: linux-usb@xxxxxxxxxxxxxxx
Subject: [PATCH] usb: musb: support for OFF-mode

using a wrapper between the transceiver driver and the controller
driver to signal the controller driver to turn on/off the controller
when VBUS event is detected.

one more queries;

If core_off is enabled and there are devices connected to musb port then
Are we saving the latest register context? I am afraid; we are not saving
and restoring the register context saved during initialization.

We are only saving register context at init time. The main reason is that when unplugging the cable the register values of the musb get corrupted, so we cannot rely on them anymore. If you know the reason or have encountered the same, please let us know.

To fix this issue, how about calling musb_save/restore functions from arch/arm/mach-omap3/pm34xx.c ? This would be good even for platforms with
USB PHY having no interrupt line.

Our new proposal about the notifier should allow this.

-Ajay
based-on: Heikki Krogerus <ext-heikki.krogerus@xxxxxxxxx>
Signed-off-by: Arnaud Mandy <ext-arnaud.2.mandy@xxxxxxxxx>

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux