[NOT FOR MERGING/PATCH 1/2] usb: otg: let everybody know if xceiv supports suspendm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



based on this flag, the link can decide to put the
transceiver in low power when there's nothing to be
done.

Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
---
 include/linux/usb/otg.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index 6c0b676..2cc82c3 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -83,6 +83,12 @@ struct otg_transceiver {
 	/* for notification of usb_xceiv_events */
 	struct blocking_notifier_head	notifier;
 
+	/*
+	 * true if this transceiver can handle
+	 * suspendm assertions from link
+	 */
+	unsigned		can_suspendm;
+
 	/* to pass extra port status to the root hub */
 	u16			port_status;
 	u16			port_change;
-- 
1.6.6.rc0

--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux