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/hcd.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/hcd.c')
| -rw-r--r-- | drivers/usb/core/hcd.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index de624c47e190..a33b849e8beb 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -564,7 +564,7 @@ static int rh_call_control (struct usb_hcd *hcd, struct urb *urb)  	case DeviceRequest | USB_REQ_GET_CONFIGURATION:  		tbuf[0] = 1;  		len = 1; -			/* FALLTHROUGH */ +		fallthrough;  	case DeviceOutRequest | USB_REQ_SET_CONFIGURATION:  		break;  	case DeviceRequest | USB_REQ_GET_DESCRIPTOR: @@ -633,7 +633,7 @@ static int rh_call_control (struct usb_hcd *hcd, struct urb *urb)  	case DeviceRequest | USB_REQ_GET_INTERFACE:  		tbuf[0] = 0;  		len = 1; -			/* FALLTHROUGH */ +		fallthrough;  	case DeviceOutRequest | USB_REQ_SET_INTERFACE:  		break;  	case DeviceOutRequest | USB_REQ_SET_ADDRESS: @@ -651,7 +651,7 @@ static int rh_call_control (struct usb_hcd *hcd, struct urb *urb)  		tbuf[0] = 0;  		tbuf[1] = 0;  		len = 2; -			/* FALLTHROUGH */ +		fallthrough;  	case EndpointOutRequest | USB_REQ_CLEAR_FEATURE:  	case EndpointOutRequest | USB_REQ_SET_FEATURE:  		dev_dbg (hcd->self.controller, "no endpoint features yet\n"); @@ -2726,7 +2726,7 @@ int usb_add_hcd(struct usb_hcd *hcd,  	case HCD_USB32:  		rhdev->rx_lanes = 2;  		rhdev->tx_lanes = 2; -		/* fall through */ +		fallthrough;  	case HCD_USB31:  		rhdev->speed = USB_SPEED_SUPER_PLUS;  		break;  | 
