Merge "USB: composite: Advertise USB version as 0x200 if max speed is HS"

This commit is contained in:
Linux Build Service Account 2017-05-25 15:51:38 -07:00 committed by Gerrit - the friendly Code Review server
commit e1cafe626d

View file

@ -1654,9 +1654,6 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
DBG(cdev, DBG(cdev,
"Config HS device with LPM(L1)\n"); "Config HS device with LPM(L1)\n");
} }
} else if (!disable_l1_for_hs) {
cdev->desc.bcdUSB = cpu_to_le16(0x0210);
DBG(cdev, "Config HS device with LPM(L1)\n");
} }
value = min(w_length, (u16) sizeof cdev->desc); value = min(w_length, (u16) sizeof cdev->desc);