Skip to content
Snippets Groups Projects
Commit 3d7b0ca5 authored by Colin Ian King's avatar Colin Ian King Committed by Vinod Koul
Browse files

phy: qualcomm: fix setting of tx_deamp_3_5db when device property read fails


Currently when reading of the device property for "qcom,tx-deamp_3_5db"
fails the default is being assigned incorrectly to phy_dwc3->rx_eq. This
looks like a copy-n-paste error and in fact should be assigning the
default instead to phy_dwc3->tx_deamp_3_5db

Addresses-Coverity: ("Copy-paste error")
Fixes: ef19b117 ("phy: qualcomm: add qcom ipq806x dwc usb phy driver")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200721150613.416876-1-colin.king@canonical.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 783f6d3d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment