summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/dma.c
diff options
context:
space:
mode:
authorHoward Hsu <howard-yh.hsu@mediatek.com>2023-02-23 07:24:57 +0100
committerFelix Fietkau <nbd@nbd.name>2023-04-17 15:34:34 +0200
commit9c97df11dfe68b548a47744ba9fa6beddcfba2bc (patch)
treee52f15b927c6d9c7457cb3cc130c71161405a4f6 /drivers/net/wireless/mediatek/mt76/dma.c
parentwifi: mt76: mt7915: add dev->hif2 support for mt7916 WED device (diff)
downloadlinux-9c97df11dfe68b548a47744ba9fa6beddcfba2bc.tar.xz
linux-9c97df11dfe68b548a47744ba9fa6beddcfba2bc.zip
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>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
0 files changed, 0 insertions, 0 deletions