-
由 Axel Lin 提交于
1. Return proper error if omap_usbhs_alloc_child fails 2. In the case of goto err_ehci, we should call platform_device_unregister(ehci) instead of platform_device_put(ehci) because we have already added the platform device to device hierarchy. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NAxel Lin <axel.lin@gmail.com> Tested-by: NKeshava Munegowda <keshava_mgowda@ti.com> Acked-by: NFelipe Balbi <balbi@ti.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
d910774f