]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7921: wake the device before dumping power table
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 5 Jun 2021 11:46:03 +0000 (13:46 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:48 +0000 (09:22 +0200)
commit29f07689c55ae806675bac45a072775849c2c9e5
tree75857f017e5c84d41704e554b0d2a41c5daa2cd2
parent21ab0879ceaf6c88cb8229a489ae29a8d4c171a8
mt76: mt7921: wake the device before dumping power table

Always wake the device up before dumping the single_sku power table
otherwise the device can hang.

Fixes: f3c7573392c96 ("mt76: mt7921: add dumping Tx power table")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c