usb: gadget: mv_udc: optimize ep_enable
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 10 Oct 2013 22:28:02 +0000 (15:28 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:46:33 +0000 (23:46 +0200)
commit7b7924cdf8134b347e9e58aee0c595fb7ed45044
treea153459e7c6026475b48f62d8ce7bd6772e48961
parent1ebf02787a1621143ecde48db86459067f9544e5
usb: gadget: mv_udc: optimize ep_enable

Only get head if not ep0.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/usb/gadget/mv_udc.c