diff options
author | Bin Liu <b-liu@ti.com> | 2015-09-09 13:17:23 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-09-27 10:54:31 -0500 |
commit | 9b7537642cb6ad400ee4a95114582ba758b3009c (patch) | |
tree | 74c3286fbb5d9bb48359d8d5a53be131aa1a212c /include/linux/usb | |
parent | f35fe4beb03d4e3203a2bd734d2253060694d98f (diff) |
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/musb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h index a4ee1b582183..fa6dc132bd1b 100644 --- a/include/linux/usb/musb.h +++ b/include/linux/usb/musb.h @@ -95,7 +95,7 @@ struct musb_hdrc_config { /* musb CLKIN in Blackfin in MHZ */ unsigned char clkin; #endif - + u32 maximum_speed; }; struct musb_hdrc_platform_data { |