]> www.infradead.org Git - users/dwmw2/linux.git/commit
mt76: mt7915e: Add a hwmon attribute to get the actual throttle state.
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Mon, 7 Feb 2022 17:37:46 +0000 (18:37 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Feb 2022 13:40:22 +0000 (14:40 +0100)
commitdb783f10b2394bd20da60a2972dc9c097fc53427
treee715f17eb6ba742c601986021f077e5518231ce9
parent771cd8d4c36975cdac6ced2f1270178752a56ae4
mt76: mt7915e: Add a hwmon attribute to get the actual throttle state.

The firmware-controlled actual throttle state was previously available
by reading the cooling_device, but this confused the thermal subsystem.
Add a hwmon attribute to get it instead.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/init.c