]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: qcom: m31-eusb2: Fix return value of init call
authorKrishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Sat, 18 Jul 2026 09:31:31 +0000 (15:01 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 20 Jul 2026 10:57:22 +0000 (16:27 +0530)
commit361f533a2dce2c2841fe4dc0c9d85a67117edf95
tree95acf6f275f7478f1a54227e6dbfb7fe57075e68
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482
phy: qcom: m31-eusb2: Fix return value of init call

The init call currently returns success irrespective of any failures
during repeater init or clock enablement. Return appropriate error value
in the init call failure path.

Fixes: 9c8504861cc4 ("phy: qcom: Add M31 based eUSB2 PHY driver")
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Link: https://patch.msgid.link/20260718-m31-eusb2-fix-v1-1-8588a1b94d76@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c