summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDimitri Fedrau <dimitri.fedrau@liebherr.com>2025-03-17 10:48:34 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-24 19:52:36 +0300
commit8fa649fd7d3009769c7289d0c31c319b72bc42c4 (patch)
tree5dc1b1b92dcb2e68eb9a4ba95901162c424bafdf /net/unix/af_unix.c
parentd39e08b0893b579ba1fdee5713d011a4585517f7 (diff)
downloadlinux-8fa649fd7d3009769c7289d0c31c319b72bc42c4.tar.xz
net: phy: dp83822: fix transmit amplitude if CONFIG_OF_MDIO not defined
When CONFIG_OF_MDIO is not defined the index for selecting the transmit amplitude voltage for 100BASE-TX is set to 0, but it should be -1, if there is no need to modify the transmit amplitude voltage. Move initialization of the index from dp83822_of_init to dp8382x_probe. Fixes: 4f3735e82d8a ("net: phy: dp83822: Add support for changing the transmit amplitude voltage") Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com> Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com> Link: https://patch.msgid.link/20250317-dp83822-fix-transceiver-mdio-v2-1-fb09454099a4@liebherr.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions