]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/usb/musb/musb_core.c
usb: musb: use musb->port_mode
authorDaniel Mack <zonque@gmail.com>
Wed, 10 Apr 2013 19:55:49 +0000 (21:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 16:22:25 +0000 (19:22 +0300)
commit6c5f6a6f532ad3c14fbed04b6f2dd0e0cab1a143
treeff0e5004f0c13e207c811f62afdaa967bcc640cd
parent9ad96e694c3d33465d099d0a2db1aae8cb358d1f
usb: musb: use musb->port_mode

Initialize the host and gadget subsystems of the musb driver only when
the appropriate mode is selected from platform data, or device-tree
information, respectively.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_virthub.c