]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
musb_hdrc: Fix musb_hnp_stop() to return to device mode
authorTony Lindgren <tony@atomide.com>
Tue, 21 Aug 2007 12:41:17 +0000 (05:41 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Aug 2007 06:19:51 +0000 (23:19 -0700)
commitdc910dfb61a25efe79b36274da7be1fd81820cf3
treee41dd0400cdc56610fef5b9704d67f5425adf617
parenta86254fcc6e52acaca08cb63695915f0f30155b7
musb_hdrc: Fix musb_hnp_stop() to return to device mode

This one fixes some USB HS OPT test unreliability.

Tony

From: Tony Lindgren <tony@atomide.com>
Subject: musb_hdrc: Fix musb_hnp_stop() to return to device mode

Without this patch HNP does not return to device mode, which can
confuse OPT tests. Also change to b_host if SUSPEND and CONNECT
simultaneously as b_peripheral, and fix a comment.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_core.c