aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorQuan Zhou <[email protected]>2023-04-13 05:11:14 +0800
committerFelix Fietkau <[email protected]>2023-04-17 17:46:07 +0200
commit3d78c46423c6567ed25ca033e086865b1b4d5ae1 (patch)
tree57ec4a71ec248abde2051f7e22b61e1cffe803bd /drivers/usb/cdns3/cdns3-debug.h
parent87714bf6ed1589813e473db5471e6e9857755764 (diff)
wifi: mt76: mt7921e: stop chip reset worker in unregister hook
If the chip reset worker is triggered during the remove process, the chip DMA may not be properly pushed back to the idle state. This can lead to corruption of the DMA flow due to the chip reset. Therefore, it is necessary to stop the chip reset before the DMA is finalized. To avoid resetting the chip after the reset worker is cancelled, use __mt7921_mcu_drv_pmctrl() instead of mt7921_mcu_drv_pmctrl(). It is safe to ignore the pm mutex because the pm worker and wake worker have already been cancelled. Fixes: 033ae79b3830 ("mt76: mt7921: refactor init.c to be bus independent") Co-developed-by: Sean Wang <[email protected]> Signed-off-by: Sean Wang <[email protected]> Co-developed-by: Deren Wu <[email protected]> Signed-off-by: Deren Wu <[email protected]> Co-developed-by: Wang Zhao <[email protected]> Signed-off-by: Wang Zhao <[email protected]> Signed-off-by: Quan Zhou <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions