mirror of https://gitee.com/openkylin/linux.git
2d1618170e
priv->work must not be synced while priv->mutex is locked, because the mutex is taken in the work handler. Move cancel_work_sync down to after the device shutdown code. This is safe, because the work handler checks fw_state and bails out early in case of a race. Signed-off-by: Michael Buesch <m@bues.ch> Cc: <stable@vger.kernel.org> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
eeprom.c | ||
eeprom.h | ||
fwio.c | ||
led.c | ||
lmac.h | ||
main.c | ||
net2280.h | ||
p54.h | ||
p54pci.c | ||
p54pci.h | ||
p54spi.c | ||
p54spi.h | ||
p54spi_eeprom.h | ||
p54usb.c | ||
p54usb.h | ||
txrx.c |