Hi,
On Tue, Dec 15, 2009 at 12:35:43PM +0100, Krogerus Heikki (EXT-Teleca/Helsinki) wrote:
Balbi Felipe (Nokia-D/Helsinki) wrote:
This patch lets musb tells the transceiver when it can go to low
power mode. It saves us around 15mA with RX51 and isp1707.
We need the extra flag in struct musb because (at least) tusb6010
does not play nicely with low power mode so we avoid going into
that state with known broken hw.
Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
snip
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h
index 4a43a32..3156293 100644
--- a/drivers/usb/musb/musb_core.h
+++ b/drivers/usb/musb/musb_core.h
@@ -436,6 +436,9 @@ struct musb {
unsigned test_mode:1;
unsigned softconnect:1;
+ /* true if chip can cope with SUSPENDM */
+ unsigned suspendm:1;
+
u8 address;
u8 test_mode_nr;
u16 ackpend; /* ep0 */
Doesn't compile without CONFIG_USB_GADGET_MUSB_HDRC.
damn it... i screw up again... this patch shouldn't be here... i'll
rebase hopefully for the last time...
sorry guys...
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html