summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tc3589x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-05-14 14:15:36 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 19:45:50 +0200
commitd910774f13678caf68fc9cbbef325f08f7f951a3 (patch)
treebfe5198e0bffeef1f35fe5dade2fc48bc8c9eba8 /drivers/mfd/tc3589x.c
parent6eb6fbbf3eca6dfba73e72de5ab2eeb52ae41f7a (diff)
downloadop-kernel-dev-d910774f13678caf68fc9cbbef325f08f7f951a3.zip
op-kernel-dev-d910774f13678caf68fc9cbbef325f08f7f951a3.tar.gz
mfd: Fix omap_usbhs_alloc_children error handling
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: Axel Lin <axel.lin@gmail.com> Signed-off-by: Axel Lin <axel.lin@gmail.com> Tested-by: Keshava Munegowda <keshava_mgowda@ti.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/tc3589x.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud