From: Bryan Wu Date: Mon, 21 Dec 2009 15:43:06 +0000 (-0500) Subject: USB: gadget: use ep5 for bulk-in and ep6 for bulk-out for Blackfin MUSB X-Git-Tag: v2.6.34-rc1~215^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8a3b1cee6c525661732b8bcf29ac63d42945ed;p=pandora-kernel.git USB: gadget: use ep5 for bulk-in and ep6 for bulk-out for Blackfin MUSB Normally, the musb uses ep1 as the bidirectional bulk endpoint. This won't work on the Blackfin musb as all endpoints (except ep0) are unidirectional. Further, ep1-ep4 have a small 128 byte FIFO which makes them undesirable for bulk endpoints (which need more like a 512 byte FIFO). This leaves us with ep5-ep7 which have 1024 byte FIFOs and can be configured as either in/out and bulk/interrupt/iso on the fly. Signed-off-by: Bryan Wu Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed