]> git.sur5r.net Git - u-boot/commit
musb: sunxi: Force EP0 on re-enable
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 4 Aug 2015 15:04:10 +0000 (17:04 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 5 Aug 2015 15:20:34 +0000 (17:20 +0200)
commit1feda63ed988b2c21f758d27e9332f4ab46b1ce9
tree122b006edd116ad6991eb6ad805cff37b382bdc3
parent2582ca0d8069eaccc4751ec9a8733c234f1d35ff
musb: sunxi: Force EP0 on re-enable

Currently, the second use of a gadget will fail, while the first one works.

Forcing the EP0 at every enable fix this issue.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/usb/musb-new/sunxi.c