android_kernel_samsung_sm8650/include/linux/usb
Enrico Mioso 2b02c20ce0 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
Some firmwares in Huawei E3372H devices have been observed to switch back
to NTB 32-bit format after altsetting switch.
This patch implements a driver flag to check for the device settings and
set NTB format to 16-bit again if needed.
The flag has been activated for devices controlled by the huawei_cdc_ncm.c
driver.

V1->V2:
- fixed broken error checks
- some corrections to the commit message
V2->V3:
- variable name changes, to clarify what's happening
- check (and possibly set) the NTB format later in the common bind code path

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Reported-and-tested-by: Christian Panton <christian@panton.org>
Reviewed-by: Bjørn Mork <bjorn@mork.no>
CC: Bjørn Mork <bjorn@mork.no>
CC: Christian Panton <christian@panton.org>
CC: linux-usb@vger.kernel.org
CC: netdev@vger.kernel.org
CC: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-14 08:15:05 -07:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc_ncm.h cdc_ncm: Set NTB format again after altsetting switch for Huawei devices 2017-07-14 08:15:05 -07:00
cdc-wdm.h
cdc.h
ch9.h
chipidea.h usb: chipidea: msm: Handle phy power states 2017-01-20 15:27:35 +08:00
composite.h usb: composite.h: fix two warnings when building docs 2017-04-11 14:41:01 -06:00
ehci_def.h
ehci_pdriver.h
ehci-dbgp.h
ezusb.h
functionfs.h
g_hid.h
gadget_configfs.h
gadget.h usb: gadget: core: introduce ->udc_set_speed() method 2017-06-13 13:21:03 +03:00
gpio_vbus.h
hcd.h usb: Fix typo in the definition of Endpoint[out]Request 2017-06-13 10:48:24 +02:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h
musb-ux500.h
musb.h
net2280.h
of.h usb: of: add functions to bind a companion controller 2017-03-17 13:24:48 +09:00
ohci_pdriver.h
otg-fsm.h usb: otg-fsm: Prevent build warning "VDBG" redefined 2017-04-11 10:58:23 +03:00
otg.h
phy_companion.h
phy.h usb: phy: Introduce one extcon device into usb phy 2017-05-17 14:15:28 +03:00
quirks.h usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk 2017-03-14 17:07:31 +08:00
r8a66597.h
renesas_usbhs.h
rndis_host.h
samsung_usb_phy.h
serial.h USB: serial: add calc_num_ports callback to generic driver 2017-03-28 10:54:39 +02:00
sl811.h
storage.h
tegra_usb_phy.h
tilegx.h
typec.h usb: typec: Add a sysfs node to manage port type 2017-06-03 18:02:58 +09:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h cdc-ether: divorce initialisation with a filter reset and a generic method 2017-05-23 11:01:28 -04:00
wusb-wa.h
wusb.h
xhci-dbgp.h usb/early: Add driver for xhci debug capability 2017-03-21 12:30:05 +01:00