Files
android_kernel_xiaomi_sm8450/Documentation/driver-api
Rafael J. Wysocki 70fb9a2523 driver core: Document limitation related to DL_FLAG_RPM_ACTIVE
If device_link_add() is called twice in a row to create a stateless
device link for the same consumer-supplier pair without an attempt
to delete the link between these calls, and the second caller passes
DL_FLAG_RPM_ACTIVE to it in flags, calling either device_link_del()
or device_link_remove() immediately after that will leave the link's
supplier device with nonzero PM-runtime usage counter, which may
prevent the supplier from being runtime-suspended going forward
until the link is deleted by another invocation of device_link_del()
or device_link_remove() for it.

Even though this is confusing and may lead to subtle issues, trying
to avoid it in the framework also may cause problems to appear, so
document it as a known limitation.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-08 11:26:14 +01:00
..
2018-12-06 10:21:19 -07:00
2016-09-06 09:14:52 -06:00
2016-08-22 14:42:08 -06:00
2018-04-20 19:14:40 -04:00
2016-08-22 14:42:08 -06:00
2016-09-06 09:14:52 -06:00
2018-10-16 11:15:51 +02:00