]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: qcom: qca807x fix condition for DAC_DSP_BIAS_CURRENT
authorGeorge Moussalem <george.moussalem@outlook.com>
Wed, 19 Feb 2025 13:09:21 +0000 (14:09 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Feb 2025 21:19:35 +0000 (13:19 -0800)
commit992ee3ed6e9fdd0be83a7daa5ff738e3cf86047f
tree7aa4e0ee721d37a4e731f77d64f10535e21f42e2
parent27eddbf3449026a73d6ed52d55b192bfcf526a03
net: phy: qcom: qca807x fix condition for DAC_DSP_BIAS_CURRENT

While setting the DAC value, the wrong boolean value is evaluated to set
the DSP bias current. So let's correct the conditional statement and use
the right boolean value read from the DTS set in the priv.

Cc: stable@vger.kernel.org
Fixes: d1cb613efbd3 ("net: phy: qcom: add support for QCA807x PHY Family")
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250219130923.7216-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/qcom/qca807x.c