linux/drivers/usb/gadget
Johan Hovold d81182ce30 USB: gadget: dummy_hcd: fix hub-descriptor removable fields
Flag the first and only port as removable while also leaving the
remaining bits (including the reserved bit zero) unset in accordance
with the specifications:

	"Within a byte, if no port exists for a given location, the bit
	field representing the port characteristics shall be 0."

Also add a comment marking the legacy PortPwrCtrlMask field.

Fixes: 1cd8fd2887 ("usb: gadget: dummy_hcd: add SuperSpeed support")
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-17 11:53:02 +02:00
..
function usb: gadget: f_fs: avoid out of bounds access on comp_desc 2017-05-16 14:11:04 +03:00
legacy drivers, usb: convert ep_data.count from atomic_t to refcount_t 2017-03-17 13:32:59 +09:00
udc USB: gadget: dummy_hcd: fix hub-descriptor removable fields 2017-05-17 11:53:02 +02:00
composite.c usb: gadget: composite: Fix function used to free memory 2017-01-12 09:58:05 +02:00
config.c
configfs.c usb: gadget: configs: plug memory leak 2017-03-06 16:45:57 +02:00
configfs.h
epautoconf.c
functions.c
Kconfig usb: gadget: reword configuration choices 2017-04-11 10:58:20 +03:00
Makefile
u_f.c
u_f.h
u_os_desc.h
usbstring.c