Commit 93ceb479 authored by Bryan Wu's avatar Bryan Wu Committed by Remy Bohmer

usb: musb: set target address for non-multipoint devices

Signed-off-by: default avatarBryan Wu <>
Signed-off-by: default avatarCliff Cai <>
Signed-off-by: default avatarMike Frysinger <>
parent 8dd7a230
......@@ -917,6 +917,13 @@ int submit_control_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
dev->status = 0;
dev->act_len = len;
/* Set device address to USB_FADDR register */
if (setup->request == USB_REQ_SET_ADDRESS)
writeb(dev->devnum, &musbr->faddr);
return len;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment