aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2016-06-13 21:48:28 +0530
committerGreg Kroah-Hartman <[email protected]>2016-06-14 12:05:44 -0700
commitd1a8c36ec10446c3584033b06beaa51bad188144 (patch)
tree84b84abd06daad07fab75af3900f2a807d7ef6c7 /tools/perf/scripts/python
parentd9e4c4ee12e490aca06a0a70d534c60648e2f43a (diff)
greybus: svc: disable connection after all its users are gone
gb_svc_del() can be called during removal of gb-es2.ko module as well, and in that case we would like to properly shutdown all modules and interfaces as USB is still alive. This requires that we don't disable the svc connection, at least for tx, as that will be used while removing modules and interfaces. Disable only rx to begin with, as we shouldn't be handling any requests from the SVC. Disable tx only after all the users of svc connection are gone. Tested on EVT 2.0 by remove gb-es2.ko module. There are still few errors, specially while quiescing the connections (-22), but not that many. Signed-off-by: Viresh Kumar <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions