diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-05 12:13:10 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-05 12:13:10 -0700 | 
| commit | ecfd7940b8641da6e41ca94eba36876dc2ba827b (patch) | |
| tree | b25d042366a3b6f165abb4c9fba9b9faf1ba33f6 /drivers/usb/core/config.c | |
| parent | dd27111e32572fdd3aaae98ba2817df6d202357a (diff) | |
| parent | e3ee0e740c3887d2293e8d54a8707218d70d86ca (diff) | |
Merge tag 'usb-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB/Thunderbolt updates from Greg KH:
 "Here is the large set of USB and Thunderbolt patches for 5.9-rc1.
  Nothing really magic/major in here, just lots of little changes and
  updates:
   - clean up language usages in USB core and some drivers
   - Thunderbolt driver updates and additions
   - USB Gadget driver updates
   - dwc3 driver updates (like always...)
   - build with "W=1" warning fixups
   - mtu3 driver updates
   - usb-serial driver updates and device ids
   - typec additions and updates for new hardware
   - xhci debug code updates for future platforms
   - cdns3 driver updates
   - lots of other minor driver updates and fixes and cleanups
  All of these have been in linux-next for a while with no reported
  issues"
* tag 'usb-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (330 commits)
  usb: common: usb-conn-gpio: Register charger
  usb: mtu3: simplify mtu3_req_complete()
  usb: mtu3: clear dual mode of u3port when disable device
  usb: mtu3: use MTU3_EP_WEDGE flag
  usb: mtu3: remove useless member @busy in mtu3_ep struct
  usb: mtu3: remove repeated error log
  usb: mtu3: add ->udc_set_speed()
  usb: mtu3: introduce a funtion to check maximum speed
  usb: mtu3: clear interrupts status when disable interrupts
  usb: mtu3: reinitialize CSR registers
  usb: mtu3: fix macro for maximum number of packets
  usb: mtu3: remove unnecessary pointer checks
  usb: xhci: Fix ASMedia ASM1142 DMA addressing
  usb: xhci: define IDs for various ASMedia host controllers
  usb: musb: convert to devm_platform_ioremap_resource_byname
  usb: gadget: tegra-xudc: convert to devm_platform_ioremap_resource_byname
  usb: gadget: r8a66597: convert to devm_platform_ioremap_resource_byname
  usb: dwc3: convert to devm_platform_ioremap_resource_byname
  usb: cdns3: convert to devm_platform_ioremap_resource_byname
  usb: phy: am335x: convert to devm_platform_ioremap_resource_byname
  ...
Diffstat (limited to 'drivers/usb/core/config.c')
| -rw-r--r-- | drivers/usb/core/config.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c index b7918f695434..562a730befda 100644 --- a/drivers/usb/core/config.c +++ b/drivers/usb/core/config.c @@ -298,10 +298,10 @@ static int usb_parse_endpoint(struct device *ddev, int cfgno,  		goto skip_to_next_endpoint_or_interface_descriptor;  	} -	/* Ignore blacklisted endpoints */ -	if (udev->quirks & USB_QUIRK_ENDPOINT_BLACKLIST) { -		if (usb_endpoint_is_blacklisted(udev, ifp, d)) { -			dev_warn(ddev, "config %d interface %d altsetting %d has a blacklisted endpoint with address 0x%X, skipping\n", +	/* Ignore some endpoints */ +	if (udev->quirks & USB_QUIRK_ENDPOINT_IGNORE) { +		if (usb_endpoint_is_ignored(udev, ifp, d)) { +			dev_warn(ddev, "config %d interface %d altsetting %d has an ignored endpoint with address 0x%X, skipping\n",  					cfgno, inum, asnum,  					d->bEndpointAddress);  			goto skip_to_next_endpoint_or_interface_descriptor; @@ -427,7 +427,7 @@ static int usb_parse_endpoint(struct device *ddev, int cfgno,  			i = maxp & (BIT(12) | BIT(11));  			maxp &= ~i;  		} -		/* fallthrough */ +		fallthrough;  	default:  		maxpacket_maxes = high_speed_maxpacket_maxes;  		break;  | 
