diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-04-18 18:45:27 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-04-21 20:55:52 +0200 |
commit | fad90e43eac0434108af18e326e179d1b5153135 (patch) | |
tree | 4d9a97b5a66084efea4996eecbd12e5f66d37e49 /drivers/atm/nicstarmac.c | |
parent | d5a2abb0db9ea05f24d1e48d3e4787247e0c5248 (diff) |
mt76: mt7921: fix a race between mt7921_mcu_drv_pmctrl and mt7921_mcu_fw_pmctrl
Introduce a mutex in order to avoid a race between mt7921_mcu_drv_pmctrl and
mt7921_mcu_fw_pmctrl routines since they are run two independent works
Fixes: 1d8efc741df8 ("mt76: mt7921: introduce Runtime PM support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/atm/nicstarmac.c')
0 files changed, 0 insertions, 0 deletions