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

Howard-YH Hsu (許育豪) Howard-YH.Hsu at mediatek.com
Wed Feb 22 22:15:41 PST 2023


On Tue, 2023-02-21 at 08:30 +0200, Kalle Valo wrote:
> 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: 7d12b38 ("wifi: mt76: mt7915: call
> > mt7915_mcu_set_thermal_throttling() only after init_work")
> > Signed-off-by: Howard Hsu <howard-yh.hsu at mediatek.com>
> 
> Should this go to v6.3?
> 

I will send the v2 patch to fix this patch. Please help to put v2 patch
into the queue of v6.3.


More information about the Linux-mediatek mailing list