diff options
| author | Saravana Kannan <[email protected]> | 2020-11-21 02:02:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-12-09 18:10:21 +0000 |
| commit | ac66c5bbb4371073dcace77e47c234d2e36a006b (patch) | |
| tree | 0315572793edc57ce025fe775d43170053dd1654 /lib/dynamic_debug.c | |
| parent | driver core: Add fwnode link support (diff) | |
| download | kernel-ac66c5bbb4371073dcace77e47c234d2e36a006b.tar.gz kernel-ac66c5bbb4371073dcace77e47c234d2e36a006b.zip | |
driver core: Allow only unprobed consumers for SYNC_STATE_ONLY device links
SYNC_STATE_ONLY device links only affect the behavior of sync_state()
callbacks. Specifically, they prevent sync_state() only callbacks from
being called on a device if one or more of its consumers haven't probed.
So, creating a SYNC_STATE_ONLY device link from an already probed
consumer is useless. So, don't allow creating such device links.
Signed-off-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
