aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2009-09-01 11:39:13 -0400
committerLive-CD User <[email protected]>2009-09-19 13:13:40 -0700
commitcc56cd0157753c04a987888a2f793803df661a40 (patch)
tree78397afa3711722fd859181a1228a14613e3bc8b /tools/perf/util/scripting-engines/trace-event-python.c
parent8bc2c1b2daf95029658868cb1427baea2da87139 (diff)
usb-serial: acquire references when a new tty is installed
This patch (as1287) makes serial_install() be reponsible for acquiring references to the usb_serial structure and the driver module when a tty is first used. This is more sensible than having serial_open() do it, because a tty can be opened many times whereas it is installed only once, when it is created. (Not to mention that these actions are reversed when the tty is released, not when it is closed.) Finally, it is at install time that the TTY core takes its own reference to the usb_serial module, so it is only fitting that we should act the same way in regard to the lower-level serial driver. Signed-off-by: Alan Stern <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions