commit | 23a53d9008251825a4c8eea64503ed676e1d0f04 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Wed Jun 19 17:38:15 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 29 13:53:23 2013 +0300 |
tree | b881117d0ba907e072bc819c8009eab20a0767a0 | |
parent | f3ce4d5b2d8d714407a646c07505c5174afd7574 [diff] |
usb: musb: unmap reqs in musb_gadget_queue()'s error case If the descriptor is missing the reqeust is never unmapped. This patch changes this and renames the cleanup label to unlock since there is no cleanup done. The cleanup would revert the allocation of ressource (i.e. this dma mapping) but it does not, it simply unlocks and returns. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>