android_kernel_sony_sdm845/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Geert Uytterhoeven 60a1dc530d USB: serial: cp210x: use tcflag_t to fix incompatible pointer type
commit 009615ab7fd4e43b82a38e4e6adc5e23c1ee567f upstream.

On sparc32, tcflag_t is unsigned long, unlike all other architectures:

    drivers/usb/serial/cp210x.c: In function 'cp210x_get_termios':
    drivers/usb/serial/cp210x.c:717:3: warning: passing argument 2 of 'cp210x_get_termios_port' from incompatible pointer type
       cp210x_get_termios_port(tty->driver_data,
       ^
    drivers/usb/serial/cp210x.c:35:13: note: expected 'unsigned int *' but argument is of type 'tcflag_t *'
     static void cp210x_get_termios_port(struct usb_serial_port *port,
		 ^

Consistently use tcflag_t to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-06 16:44:32 +02:00
..
atm usb: atm: usbatm: don't print on ENOMEM 2016-08-30 19:17:36 +02:00
c67x00
chipidea usb: chipidea: properly handle host or gadget initialization failure 2018-04-13 19:47:59 +02:00
class usb: cdc_acm: prevent race at write to acm while system resumes 2018-05-25 16:13:01 +02:00
common usb: patches for v4.9 merge window 2016-09-14 20:37:50 +02:00
core USB: Accept bulk endpoints with 1024-byte maxpacket 2018-05-09 09:50:23 +02:00
dwc2 usb: dwc2: host: Fix transaction errors in host mode 2018-05-25 16:13:03 +02:00
dwc3 usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields 2018-05-25 16:13:03 +02:00
early treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
gadget usb: gadget: composite: fix incorrect handling of OS desc requests 2018-05-25 16:13:04 +02:00
host xhci: zero usb device slot_id member when disabling and freeing a xhci slot 2018-05-25 16:13:03 +02:00
image usb: microtek: Use "foo *bar" instead of "foo * bar". 2016-06-07 22:18:39 -07:00
isp1760 usb: Remove unnecessary space before open square bracket. 2016-05-09 13:08:46 +02:00
misc usb: misc: lvs: fix race condition in disconnect handling 2018-03-22 09:17:40 +01:00
mon usb: usbmon: Read text within supplied buffer size 2018-03-18 11:18:56 +01:00
musb usb: musb: trace: fix NULL pointer dereference in musb_g_tx() 2018-05-09 09:50:24 +02:00
phy usb: phy: msm add regulator dependency 2018-02-25 11:05:56 +01:00
renesas_usbhs usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path 2018-02-28 10:18:32 +01:00
serial USB: serial: cp210x: use tcflag_t to fix incompatible pointer type 2018-06-06 16:44:32 +02:00
storage USB: ene_usb6250: fix SCSI residue overwriting 2018-04-13 19:48:00 +02:00
usbip usbip: usbip_host: fix bad unlock balance during stub_probe() 2018-05-22 16:57:56 +02:00
wusbcore USB: wusbcore: fix NULL-deref at probe 2017-03-30 09:41:24 +02:00
Kconfig usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT 2018-02-22 15:43:51 +01:00
Makefile usb: fsl: drop USB_FSL_MPH_DR_OF Kconfig symbol 2016-03-04 15:14:29 +02:00
README
usb-skeleton.c usb: usb-skeleton: don't print on ENOMEM 2016-08-30 19:17:39 +02:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.