mt76: mt76x0: handle chip specific initval differences
authorFelix Fietkau <nbd@nbd.name>
Thu, 18 Oct 2018 14:09:07 +0000 (16:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:40 +0000 (12:21 +0100)
commitcadc83efce65fe505ec7736cec6ff5f26cbce52a
tree2907f2f9b4fb0636724f539d846625ff508853c7
parent5567b37359919d2f678de04e9d6e83571b3140ff
mt76: mt76x0: handle chip specific initval differences

Some RF registers need different values for various chips.
For at least mt76x0_rf_central_tab registers, overwriting them later does
not work, as the wrong values can cause the entire system to hang on some
devices with MT7610E

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c