]> git.baikalelectronics.ru Git - kernel.git/commit
usb: chipidea: udc: .pullup is valid only when vbus is there
authorPeter Chen <peter.chen@freescale.com>
Wed, 14 Aug 2013 09:44:15 +0000 (12:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 19:37:20 +0000 (12:37 -0700)
commit206ec23dea4aae8d967b6e7be340d15ae9ac380b
tree828fd98e8de7898115f586a2b36b14e01151d6e0
parent2de5cb0c922e2e4d2fe5c57a8a5597af472c260c
usb: chipidea: udc: .pullup is valid only when vbus is there

For chipidea, the IP must know vbus before the controller
begins to run. So the .pullup should only be called when
the vbus is there.

Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/udc.c