commit | 0fa1986f3a6c385b3bca0b6a051c30e548bda30d | [log] [tgz] |
---|---|---|
author | Jay Fenlason <fenlason@redhat.com> | Sat Nov 29 17:44:57 2008 +0100 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Jan 04 23:50:37 2009 +0100 |
tree | 5b61ce9579a520f89bc4c000bfe3496e58d4f47a | |
parent | 2cc489c21338950c2b4097dec48864bdf7b30f1b [diff] |
firewire: improve refcounting of fw_card Take a reference to the card whenever fw_card_bm_work() is scheduled on that card and release it when the work is done. This allows us to remove the cancel_delayed_work_sync() in fw_core_remove_card(). Signed-off-by: Jay Fenlason <fenlason@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (patch update)