Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1323871

Re: [PATCH] usb: xhci: fix build error for USB_SPEED_SUPER_PLUS

From Mathias Nyman <mathias.nyman@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] usb: xhci: fix build error for USB_SPEED_SUPER_PLUS
Date 2016-02-02 09:10 +0100
Message-ID <qXEca-80M-17@gated-at.bofh.it> (permalink)
References <qXpmP-5sL-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01.02.2016 18:18, Arnd Bergmann wrote:
> A recent patch introduced support for superspeed plus (USB3.1), but that
> caused a new gcc warning in the XHCI code:
>
> usb/host/xhci.c: In function 'xhci_drop_ep_from_interval_table':
> usb/host/xhci.c:2440:2: error: enumeration value 'USB_SPEED_SUPER_PLUS' not handled in switch [-Werror=switch]
>
> This changes the XHCI driver to handle USB_SPEED_SUPER_PLUS the
> same way as USB_SPEED_SUPER in the xhci_drop_ep_from_interval_table
> and xhci_add_ep_to_interval_table functions, explicitly ignoring
> it.
>

The original series that added USB_SPEED_SUPER_PLUS to both core and xhci was only partly accepted.
The core part was applied, the rest was asked to  be resubmitted.

Second part is still waiting to be applied.

http://www.spinics.net/lists/linux-usb/msg135493.html

-Mathias

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] usb: xhci: fix build error for USB_SPEED_SUPER_PLUS Arnd Bergmann <arnd@arndb.de> - 2016-02-01 17:20 +0100
  Re: [PATCH] usb: xhci: fix build error for USB_SPEED_SUPER_PLUS Mathias Nyman <mathias.nyman@linux.intel.com> - 2016-02-02 09:10 +0100

csiph-web