From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Bohmer Date: Sun, 1 Aug 2010 13:11:27 +0200 Subject: [U-Boot] [PATCH 17/28] SPEAr : USB device controller bugfixes In-Reply-To: <1279084204-3263-18-git-send-email-vipin.kumar@st.com> References: <1279084204-3263-1-git-send-email-vipin.kumar@st.com> <1279084204-3263-2-git-send-email-vipin.kumar@st.com> <1279084204-3263-3-git-send-email-vipin.kumar@st.com> <1279084204-3263-4-git-send-email-vipin.kumar@st.com> <1279084204-3263-5-git-send-email-vipin.kumar@st.com> <1279084204-3263-6-git-send-email-vipin.kumar@st.com> <1279084204-3263-7-git-send-email-vipin.kumar@st.com> <1279084204-3263-8-git-send-email-vipin.kumar@st.com> <1279084204-3263-9-git-send-email-vipin.kumar@st.com> <1279084204-3263-10-git-send-email-vipin.kumar@st.com> <1279084204-3263-11-git-send-email-vipin.kumar@st.com> <1279084204-3263-12-git-send-email-vipin.kumar@st.com> <1279084204-3263-13-git-send-email-vipin.kumar@st.com> <1279084204-3263-14-git-send-email-vipin.kumar@st.com> <1279084204-3263-15-git-send-email-vipin.kumar@st.com> <1279084204-3263-16-git-send-email-vipin.kumar@st.com> <1279084204-3263-17-git-send-email-vipin.kumar@st.com> <1279084204-3263-18-git-send-email-vipin.kumar@st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, 2010/7/14 Vipin KUMAR : > From: Vipin KUMAR > > This patch fixes a few bugs in USB device controller driver. > The fixes are as follows > 1. Adding error condition checks eg. NULL return > 2. Endpoint other than endpoint 0 (control endpoint) are initialized > only if usb state machine reaches STATE_ADDRESSED or above > 3. Zero length packet handling corrected > 4. Dead code removed > 5. Bulk out endpoint returns after servicing 1 interrupt and returns > back to service if more interrupts are pending > > Signed-off-by: Vipin Kumar > --- > ?drivers/usb/gadget/designware_udc.c | ? 59 ++++++++++++++++++++++------------ > ?1 files changed, 38 insertions(+), 21 deletions(-) Acked-by: Remy Bohmer