usb: musb: set the controller speed based on the config setting
authorBin Liu <b-liu@ti.com>
Wed, 9 Sep 2015 18:17:23 +0000 (13:17 -0500)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commit9b7537642cb6ad400ee4a95114582ba758b3009c
tree74c3286fbb5d9bb48359d8d5a53be131aa1a212c
parentf35fe4beb03d4e3203a2bd734d2253060694d98f
usb: musb: set the controller speed based on the config setting

Set the Power register HSENAB bit based on musb->config->maximum_speed,
so that the glue layer can control MUSB to work in high- or full-speed.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c
include/linux/usb/musb.h