commit | 6c5f6a6f532ad3c14fbed04b6f2dd0e0cab1a143 | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Wed Apr 10 21:55:49 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue May 28 19:22:25 2013 +0300 |
tree | ff0e5004f0c13e207c811f62afdaa967bcc640cd | |
parent | 9ad96e694c3d33465d099d0a2db1aae8cb358d1f [diff] |
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>