commit | f5bda0034fba942adf5555246e248ddb66c76052 | [log] [tgz] |
---|---|---|
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | Tue Mar 03 10:52:08 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Tue Mar 10 15:33:34 2015 -0500 |
tree | 4068dd9541c8b83c8cb6c37871a33c014984a241 | |
parent | c69b8186945c10d245586e9f9703486e9574170c [diff] |
usb: gadget: printer: revert usb_add_function() effect in error recovery Whenever the "goto fail" branch is taken, the effect of usb_add_function() should be reverted. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>