diff options
author | Saravana Kannan <[email protected]> | 2020-11-20 18:02:24 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-09 19:10:21 +0100 |
commit | ac66c5bbb4371073dcace77e47c234d2e36a006b (patch) | |
tree | 0315572793edc57ce025fe775d43170053dd1654 /lib/mpi/mpi-bit.c | |
parent | 7b337cb3ebde384cba7405b61dfb84200bf623bf (diff) |
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/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions