]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: fix role switch breakage
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Tue, 4 Feb 2014 19:42:15 +0000 (11:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2014 20:59:14 +0000 (12:59 -0800)
commit43240f6124b8381fcdab343f73917aa39bf83ef0
tree7c5826b0028216054563182882c04b968edfcf50
parent693f332cb478298f38b29dbd2eaabd39946d9f8f
usb: dwc2: fix role switch breakage

Commit e61223245f "staging: dwc2: add check on dwc2_core_reset
return" broke the B -> A role switching on OTG-enabled platforms.
This commit fixes it.

Reported-by: Dinh Nguyen <dinguyen@altera.com>
Tested-by: Dinh Nguyen <dinguyen@altera.com>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/core.c