diff options
| author | Andy Walls <[email protected]> | 2011-02-07 22:30:55 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2011-03-22 19:23:59 -0300 |
| commit | 5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95 (patch) | |
| tree | 884f301574395cf271eee6972925c5425a69f906 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 534c1eab1e2770dca3cf4616cc4059683020114b (diff) | |
[media] lirc_zilog: Add ref counting of struct IR, IR_tx, and IR_rx
This is a major change to add pointer reference counting for
struct IR, struct IR_tx, and struct IR_rx object instances.
This ref counting gets lirc_zilog closer to gracefully handling
bridge drivers and hot-unplugged USB devices disappearing out from
under lirc_zilog when the /dev/lircN node is still open. (mutexes
to protect the i2c_client pointers in struct IR_tx and struct IR_rx
still need to be added.)
This reference counting also helps lirc_zilog clean up properly
when the i2c_clients disappear.
Signed-off-by: Andy Walls <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions