Searched hist:"9 c97df11dfe68b548a47744ba9fa6beddcfba2bc" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | diff 9c97df11dfe68b548a47744ba9fa6beddcfba2bc Thu Feb 23 00:24:57 CST 2023 Howard Hsu <howard-yh.hsu@mediatek.com> wifi: mt76: mt7915: rework init flow in mt7915_thermal_init()
If kernel do not enable CONFIG_HWMON, it may cause thermal initialization to be done with temperature value 0 and then can not transmit. This commit fixes it by setting trigger/restore temperature before checking CONFIG_HWMON.
Fixes: 7d12b38ab6f6 ("wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work") Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
|