]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: udc: .pullup is valid only when vbus is there
authorPeter Chen <peter.chen@freescale.com>
Mon, 12 Aug 2013 01:22:59 +0000 (09:22 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:50 +0000 (09:54 +0800)
commit12480f999a7876f4fc4e3b651f538084480675c6
tree811c454e02b8402300536eac427ba96cbe7c8c7b
parentaa2489e79733261a05a90dea889578c6558df9d6
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>
drivers/usb/chipidea/udc.c