• Jay Fenlason's avatar
    firewire: improve refcounting of fw_card · 0fa1986f
    Jay Fenlason authored
    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: default avatarJay Fenlason <fenlason@redhat.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (patch update)
    0fa1986f
fw-card.c 13.7 KB