Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f34c25ed authored by Rahul Ruikar's avatar Rahul Ruikar Committed by Greg Kroah-Hartman
Browse files

USB: gadget: amd5536udc.c: fix error path



In function udc_probe() call put_device() when device_register() fails.

Signed-off-by: default avatarRahul Ruikar <rahul.ruikar@gmail.com>
Acked-by: default avatarThomas Dahlmann <dahlmann.thomas@arcor.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e581c8c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment