android_kernel_sony_sdm845/include/uapi/linux/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold 12bfbe157d USB: hub: fix SS max number of ports
commit 93491ced3c87c94b12220dbac0527e1356702179 upstream.

Add define for the maximum number of ports on a SuperSpeed hub as per
USB 3.1 spec Table 10-5, and use it when verifying the retrieved hub
descriptor.

This specifically avoids benign attempts to update the DeviceRemovable
mask for non-existing ports (should we get that far).

Fixes: dbe79bbe9d ("USB 3.0 Hub Changes")
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-24 07:11:15 +02:00
..
audio.h ALSA: usb: Fix Processing Unit Descriptor parsers 2013-02-21 13:55:12 +01:00
cdc-wdm.h USB: cdc-wdm: properly include types.h 2014-05-27 16:32:10 -07:00
cdc.h cdc: add header guards 2015-09-15 21:53:24 -07:00
ch9.h USB: PD: additional feature selectors 2016-04-19 04:33:15 +09:00
ch11.h USB: hub: fix SS max number of ports 2017-06-24 07:11:15 +02:00
functionfs.h usb: gadget: f_fs: handle control requests in config 0 2016-08-25 12:13:17 +03:00
g_printer.h
gadgetfs.h
Kbuild usb: cdc-wdm: export cdc-wdm uapi header 2014-05-27 16:29:39 -07:00
midi.h
tmc.h Add ioctls to enable and disable local controls on an instrument 2016-02-03 13:54:06 -08:00
video.h [media] uvcvideo: Enable UVC 1.5 device detection 2015-11-19 11:13:19 -02:00