]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: marvell-88q2xxx: Enable temperature measurement in probe again
authorDimitri Fedrau <dima.fedrau@gmail.com>
Mon, 12 May 2025 12:03:42 +0000 (14:03 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 May 2025 10:32:09 +0000 (12:32 +0200)
commit10465365f3b094ba9a9795f212d13dee594bcfe7
tree87b0a1f886c86171b586dcaed93c30b149bb44ad
parent4cde0e4224ce70bb6e91930a8850b59194151838
net: phy: marvell-88q2xxx: Enable temperature measurement in probe again

Enabling of the temperature sensor was moved from mv88q2xxx_hwmon_probe to
mv88q222x_config_init with the consequence that the sensor is only
usable when the PHY is configured. Enable the sensor in
mv88q2xxx_hwmon_probe as well to fix this.

Signed-off-by: Dimitri Fedrau <dima.fedrau@gmail.com>
Link: https://patch.msgid.link/20250512-marvell-88q2xxx-hwmon-enable-at-probe-v4-1-9256a5c8f603@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/marvell-88q2xxx.c