]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
musb_hdrc: Update peripheral side suspend support
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 23 Mar 2007 14:00:21 +0000 (10:00 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Mar 2007 14:00:21 +0000 (10:00 -0400)
commit68a37991fe438a5ec061e49278917e9f75e36931
treee460bb9e757eb8c19db699ac6cbc6fff5bbbba23
parent52405e0d78ed40ce1d5813f4a747b91b78e85b44
musb_hdrc: Update peripheral side suspend support

Update peripheral side suspend support:

 - Work around some IRQ strangeness (disconnect not detected reliably
   while suspended).

 - Swaps out clearly-broken SRP logic (from Mentor?) with code which
   at least matches the documentation.

 - Track whether peripheral is suspended; this helps detect invalid remote
   wakeup requests, and will also help work around a tusb6010 peripheral
   side issue (separate patch).

 - For tusb6010, don't be so noisy with tps65030 idle/suspend messaging;
   among other things, it interferes with debugging.

 - In OTG mode, host side can now autosuspend when peripheral side is
   active (connected or otherwise).

USBCV remote wakeup tests now pass.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/g_ep0.c
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musb_host.c
drivers/usb/musb/musb_procfs.c
drivers/usb/musb/musbdefs.h
drivers/usb/musb/plat_uds.c
drivers/usb/musb/tusb6010.c