diff options
author | Axel Lin <[email protected]> | 2011-05-14 14:15:36 +0800 |
---|---|---|
committer | Samuel Ortiz <[email protected]> | 2011-05-26 19:45:50 +0200 |
commit | d910774f13678caf68fc9cbbef325f08f7f951a3 (patch) | |
tree | bfe5198e0bffeef1f35fe5dade2fc48bc8c9eba8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6eb6fbbf3eca6dfba73e72de5ab2eeb52ae41f7a (diff) |
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 <[email protected]>
Signed-off-by: Axel Lin <[email protected]>
Tested-by: Keshava Munegowda <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions