summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-08-11 21:01:00 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-08-11 21:01:00 +0000
commitcc4be72d152942c60c54407da3b1be24f5b50b72 (patch)
tree47f26258bae24e06e2528d1dc9234529802b9e42 /firmware
parente9d81ba089558af9cf4621c3efbbf7033aad6595 (diff)
downloadrockbox-cc4be72d152942c60c54407da3b1be24f5b50b72.tar.gz
rockbox-cc4be72d152942c60c54407da3b1be24f5b50b72.tar.bz2
rockbox-cc4be72d152942c60c54407da3b1be24f5b50b72.zip
Fix endpoint allocation
Flyspray: FS#10510 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/usb-drv-arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/usb-drv-arc.c b/firmware/target/arm/usb-drv-arc.c
index 3dc7b21151..973a227423 100644
--- a/firmware/target/arm/usb-drv-arc.c
+++ b/firmware/target/arm/usb-drv-arc.c
@@ -826,7 +826,7 @@ int usb_drv_request_endpoint(int type, int dir)
if (endpoint->allocated[other_dir] &&
endpoint->type[other_dir] != ep_type) {
logf("ep of different type!");
- return -1;
+ continue;
}