History

Merge tag 'usb-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb

Pull USB / Thunderbolt / PHY driver updates from Greg KH: "Here is the big set of USB, Thunderbolt, and PHY driver updates for 6.6-rc1. Included in here are: - PHY driver additions and cleanups - Thunderbolt minor additions and fixes - USB MIDI 2 gadget support added - dwc3 driver updates and additions - Removal of some old USB wireless code that was missed when that codebase was originally removed a few years ago, cleaning up some core USB code paths - USB core potential use-after-free fixes that syzbot from different people/groups keeps tripping over - typec updates and additions - gadget fixes and cleanups - loads of smaller USB core and driver cleanups all over the place Full details are in the shortlog. All of these have been in linux-next for a while with no reported problems" * tag 'usb-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (154 commits) platform/chrome: cros_ec_typec: Configure Retimer cable type tcpm: Avoid soft reset when partner does not support get_status usb: typec: tcpm: reset counter when enter into unattached state after try role usb: typec: tcpm: set initial svdm version based on pd revision USB: serial: option: add FOXCONN T99W368/T99W373 product USB: serial: option: add Quectel EM05G variant (0x030e) usb: dwc2: add pci_device_id driver_data parse support usb: gadget: remove max support speed info in bind operation usb: gadget: composite: cleanup function config_ep_by_speed_and_alt() usb: gadget: config: remove max speed check in usb_assign_descriptors() usb: gadget: unconditionally allocate hs/ss descriptor in bind operation usb: gadget: f_uvc: change endpoint allocation in uvc_function_bind() usb: gadget: add a inline function gether_bitrate() usb: gadget: use working speed to calcaulate network bitrate and qlen dt-bindings: usb: samsung,exynos-dwc3: Add Exynos850 support usb: dwc3: exynos: Add support for Exynos850 variant usb: gadget: udc-xilinx: fix incorrect type in assignment warning usb: gadget: udc-xilinx: fix cast from restricted __le16 warning usb: gadget: udc-xilinx: fix restricted __le16 degrades to integer warning USB: dwc2: hande irq on dead controller correctly ...

Linus Torvalds committed 3 years ago

Commit 51e7acc2 parents e2c874f 895ed7e211 files · +7350 −1888Browse files

Showing the changes to include/uapi/linux (2 of 211 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/usb/ch11.h +2 −4
  2. include/uapi/linux/usb/ch9.h +1 −4
include/uapi/linux/usb/ch11.h+2−4
@@ -15,10 +15,8 @@ · 14 unmodified lines
1515 /* This is arbitrary.
1616 * From USB 2.0 spec Table 11-13, offset 7, a hub can
1717 * have up to 255 ports. The most yet reported is 10.
18− *
19− * Current Wireless USB host hardware (Intel i1480 for example) allows
20− * up to 22 devices to connect. Upcoming hardware might raise that
21− * limit. Because the arrays need to add a bit for hub status data, we
18+ * Upcoming hardware might raise that limit.
19+ * Because the arrays need to add a bit for hub status data, we
2220 * use 31, so plus one evens out to four bytes.
2321 */
2422 #define USB_MAXCHILDREN 31
include/uapi/linux/usb/ch9.h+1−4
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 * This file holds USB constants and structures that are needed for
44 * USB device APIs. These are used by the USB device model, which is
55 * defined in chapter 9 of the USB 2.0 specification and in the
6− * Wireless USB 1.0 (spread around). Linux has several APIs in C that
6+ * Wireless USB 1.0 spec (now defunct). Linux has several APIs in C that
77 * need these:
88 *
99 * - the master/host side Linux-USB kernel driver API;
@@ -14,9 +14,6 @@ · 4 unmodified lines
1414 * act either as a USB master/host or as a USB slave/device. That means
1515 * the master and slave side APIs benefit from working well together.
1616 *
17− * There's also "Wireless USB", using low power short range radios for
18− * peripheral interconnection but otherwise building on the USB framework.
19− *
2017 * Note all descriptors are declared '__attribute__((packed))' so that:
2118 *
2219 * [a] they never get padded, either internally (USB spec writers