phy: qualcomm: phy-qcom-eusb2-repeater: Zero out untouched tuning regs
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 13 Sep 2023 09:53:25 +0000 (11:53 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Sep 2023 14:38:51 +0000 (16:38 +0200)
commit99a517a582fc1272d1d3cf3b9e671a14d7db77b8
treeb50196c67f41e00c7f2eac243223d9991966393d
parent4ba2e52718c0ce4ece6a269bec84319c355c030f
phy: qualcomm: phy-qcom-eusb2-repeater: Zero out untouched tuning regs

The vendor kernel zeroes out all tuning data outside the init sequence
as part of initialization. Follow suit to avoid UB.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230830-topic-eusb2_override-v2-3-7d8c893d93f6@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c