diff options
author | Andy Walls | 2011-02-08 02:30:55 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2011-03-22 23:23:59 +0100 |
commit | 5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95 (patch) | |
tree | 884f301574395cf271eee6972925c5425a69f906 /drivers/isdn | |
parent | [media] lirc_zilog: Move constants from ir_probe() into the lirc_driver template (diff) | |
download | kernel-qcow2-linux-5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95.tar.gz kernel-qcow2-linux-5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95.tar.xz kernel-qcow2-linux-5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95.zip |
[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 <awalls@md.metrocast.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions