]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ci_udc: call udc_disconnect() from ci_pullup()
authorStephen Warren <swarren@nvidia.com>
Tue, 10 Jun 2014 17:02:35 +0000 (11:02 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 11 Jun 2014 00:26:05 +0000 (02:26 +0200)
commit43a8f25b6ca77894ddfd46c2b1196c7bd487561f
tree37dfaa6721d3f74e98265bbc0a0254b0f89341f9
parent006c7026882011ba49c9a39d27c4aff3ace07847
usb: ci_udc: call udc_disconnect() from ci_pullup()

ci_pullup()'s !is_on path contains a cut/paste copy of udc_disconnect().
Remove the duplication by simply calling udc_disconnect() instead.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/gadget/ci_udc.c