Skip to content
Snippets Groups Projects
Commit dc3e7739 authored by Vipin KUMAR's avatar Vipin KUMAR Committed by Marek Vasut
Browse files

USB:gadget:designware Device controller bugfixes


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: default avatarVipin Kumar <vipin.kumar@st.com>
Signed-off-by: default avatarAmit Virdi <amit.virdi@st.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent 2721551a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment