[PATCH v2] wifi: mt76: mt7915: rework init flow in mt7915_thermal_init()

Kalle Valo kvalo at kernel.org
Fri Feb 24 08:45:07 PST 2023


Howard Hsu <howard-yh.hsu at mediatek.com> writes:

> 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 at mediatek.com>

Was this supposed to go to v6.3?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the Linux-mediatek mailing list