OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f41d4
)
musb: fix power field to hold all possible values
author
Ajay Kumar Gupta
<ajay.gupta@ti.com>
Thu, 25 Mar 2010 11:14:23 +0000
(13:14 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 30 Apr 2010 16:25:07 +0000
(09:25 -0700)
MUSB can supply upto 500mA such as, AM3517 and OMAP3EVM Rev >=E and thus
the 'power' field has to hold values above 255.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/plat-omap/include/plat/usb.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/include/plat/usb.h
b/arch/arm/plat-omap/include/plat/usb.h
index
568578d
..
876ca8d
100644
(file)
--- a/
arch/arm/plat-omap/include/plat/usb.h
+++ b/
arch/arm/plat-omap/include/plat/usb.h
@@
-46,7
+46,7
@@
struct ehci_hcd_omap_platform_data {
struct omap_musb_board_data {
u8 interface_type;
u8 mode;
- u
8
power;
+ u
16
power;
};
enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};