• Ido Yariv's avatar
    wl12xx: Power off after flushing work · a454969e
    Ido Yariv authored
    When stopping plt, the chip is powered off before all current work items
    are flushed and interrupts are disabled. This might introduce a race in
    which the driver tries to communicate with a powered off chip.
    
    Fix this by powering off the device only after interrupts are disabled
    and all work items are flushed.
    Signed-off-by: default avatarIdo Yariv <ido@wizery.com>
    Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
    a454969e
main.c 134 KB