]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt76x0e: another fix for the external PA current setting
authorFelix Fietkau <nbd@nbd.name>
Tue, 9 Oct 2018 08:44:36 +0000 (10:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 13 Oct 2018 15:39:36 +0000 (17:39 +0200)
commit28845db6f1cd0798c6f318a745cfc25bc8c6f7ff
tree42a76744daf5dab5f7e9a3b2054062f8593df21a
parentd4b5abe66529d737db218c8c39bc22d3e125ba49
mt76: mt76x0e: another fix for the external PA current setting

- Use the register number define instead of a magic value
- Fix inverted bit test (override needs to be applied if the bit is not set)

Fixes: 867e9a76b83b ("mt76x0: pci: add hw initialization at bootstrap")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/pci.c