|
@@ -787,11 +787,13 @@ enum device_link_state {
|
|
* AUTOREMOVE_CONSUMER: Remove the link automatically on consumer driver unbind.
|
|
* AUTOREMOVE_CONSUMER: Remove the link automatically on consumer driver unbind.
|
|
* PM_RUNTIME: If set, the runtime PM framework will use this link.
|
|
* PM_RUNTIME: If set, the runtime PM framework will use this link.
|
|
* RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation.
|
|
* RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation.
|
|
|
|
+ * AUTOREMOVE_SUPPLIER: Remove the link automatically on supplier driver unbind.
|
|
*/
|
|
*/
|
|
#define DL_FLAG_STATELESS BIT(0)
|
|
#define DL_FLAG_STATELESS BIT(0)
|
|
#define DL_FLAG_AUTOREMOVE_CONSUMER BIT(1)
|
|
#define DL_FLAG_AUTOREMOVE_CONSUMER BIT(1)
|
|
#define DL_FLAG_PM_RUNTIME BIT(2)
|
|
#define DL_FLAG_PM_RUNTIME BIT(2)
|
|
#define DL_FLAG_RPM_ACTIVE BIT(3)
|
|
#define DL_FLAG_RPM_ACTIVE BIT(3)
|
|
|
|
+#define DL_FLAG_AUTOREMOVE_SUPPLIER BIT(4)
|
|
|
|
|
|
/**
|
|
/**
|
|
* struct device_link - Device link representation.
|
|
* struct device_link - Device link representation.
|