Searched hist:"9 b510df703d282effba4f56ac567aa8011d56e6b" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | usb-uclass.c | 1b6a1dff71cd15b60823d924dd4623aeaadd3a2b Mon Nov 09 06:47:56 UTC 2015 Simon Glass <sjg@chromium.org> Revert "dm: usb: Rename usb_find_child to usb_find_emul_child"
This reverts commit 9b510df703d282effba4f56ac567aa8011d56e6b.
We want to avoid having the USB stack rely on unbind.
Signed-off-by: Simon Glass <sjg@chromium.org> 9b510df703d282effba4f56ac567aa8011d56e6b Wed Jul 01 18:53:01 UTC 2015 Hans de Goede <hdegoede@redhat.com> dm: usb: Rename usb_find_child to usb_find_emul_child
Now that we unbind usb devices from usb_stop() usb_find_child() is only necessary to deal with emulated usb devices.
Rename it to make this clear and add a #ifdef to make it a nop in other cases.
Note the #ifdef turns usb_find_emul_child() into a nop, rather then not building it and adding another #ifdef to the caller, this is done this way because adding a #ifdef to the caller is somewhat hairy.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Simon Glass <sjg@chromium.org>
|