aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2020-02-21 00:05:08 -0800
committerGreg Kroah-Hartman <[email protected]>2020-03-04 13:46:03 +0100
commit21eb93f432b1a785df193df1a56a59e9eb3a985f (patch)
treeb5eb0566c382adca2d60d20ef5973370eab73b78 /tools/perf/util/trace-event-scripting.c
parentae91c92565494a37c30ce9a691c87890f800d826 (diff)
driver core: Call sync_state() even if supplier has no consumers
The initial patch that added sync_state() support didn't handle the case where a supplier has no consumers. This was because when a device is successfully bound with a driver, only its suppliers were checked to see if they are eligible to get a sync_state(). This is not sufficient for devices that have no consumers but still need to do device state clean up. So fix this. Fixes: fc5a251d0fd7ca90 (driver core: Add sync_state driver/bus callback) Signed-off-by: Saravana Kannan <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions