aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2017-04-13 16:36:50 -0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-05-16 10:38:29 +0300
commit78db441d2ea0c804bc43a2bf3f894c4f7a6c7788 (patch)
treeec136dbe1b064dc3d85acd5bc1c553a594c60213 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentLinux 4.12-rc1 (diff)
downloadlinux-78db441d2ea0c804bc43a2bf3f894c4f7a6c7788.tar.gz
linux-78db441d2ea0c804bc43a2bf3f894c4f7a6c7788.zip
USB: f_mass_storage: improve async notification handling
This patch makes several adjustments to the way f_mass_storage.c handles its internal state and asynchronous notifications (AKA exceptions): A number of states weren't being used for anything. They are removed. The FSG_STATE_IDLE state was renamed to FSG_STATE_NORMAL, because it now applies whenever the gadget is operating normally, not just when the gadget is idle. The FSG_STATE_RESET state was renamed to FSG_STATE_PROTOCOL_RESET, indicating that it represents a Bulk-Only Transport protocol reset and not a general USB reset. When a signal arrives, it's silly for the signal handler to send itself another signal! Now it takes care of everything inline. Along with an assortment of other minor changes in the same category. Tested-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions