wifi: mt76: permit to load precal from NVMEM cell for mt7915
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 18 Oct 2023 13:09:42 +0000 (15:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Dec 2023 17:50:19 +0000 (18:50 +0100)
commitfdddaa52641e222ef6149d2faa7c10afe02f647e
tree18136ff3e42fe72d7bba4102dc0964f9dccd42c6
parenta1f57685fe851677d62d3551aa2de674c25120cf
wifi: mt76: permit to load precal from NVMEM cell for mt7915

Permit to load precal from NVMEM cell for mt7915. The NVMEM cell must be
named "precal" to be correctly loaded.

NVMEM cell must already account the correct offset and be placed after
the EEPROM as the function expect the data right from the start.

Tested-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c