public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] musb: fix power field to hold all possible values
@ 2010-02-23  9:46 Ajay Kumar Gupta
  2010-02-23  9:51 ` Felipe Balbi
  2010-03-24  8:11 ` Felipe Balbi
  0 siblings, 2 replies; 11+ messages in thread
From: Ajay Kumar Gupta @ 2010-02-23  9:46 UTC (permalink / raw)
  To: linux-omap; +Cc: Ajay Kumar Gupta

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>
---
 arch/arm/plat-omap/include/plat/usb.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h
index 288e29e..b181297 100644
--- 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;
-	u8	power;
+	u16	power;
 };
 
 enum musb_interface    {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};
-- 
1.6.2.4


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-03-24  8:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-23  9:46 [PATCH] musb: fix power field to hold all possible values Ajay Kumar Gupta
2010-02-23  9:51 ` Felipe Balbi
2010-02-23  9:57   ` Gadiyar, Anand
2010-02-23 11:04     ` Felipe Balbi
2010-02-23 14:31   ` Gupta, Ajay Kumar
2010-02-23 20:32     ` Felipe Balbi
2010-02-25 22:19       ` Tony Lindgren
2010-02-26  4:32         ` Gupta, Ajay Kumar
2010-03-23 11:41           ` Gupta, Ajay Kumar
2010-03-23 12:39             ` Felipe Balbi
2010-03-24  8:11 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox