diff options
| author | Harshit Mogalapalli <[email protected]> | 2025-07-10 17:24:02 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-07-15 15:06:47 +0000 |
| commit | b7acfeab8af9ee661c933522132f3d1d92ed12d6 (patch) | |
| tree | 4b86d0b092717f04b1585d68df4e2c665dcbc6a9 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | phy: use per-PHY lockdep keys (diff) | |
| download | kernel-b7acfeab8af9ee661c933522132f3d1d92ed12d6.tar.gz kernel-b7acfeab8af9ee661c933522132f3d1d92ed12d6.zip | |
phy: qcom: fix error code in snps_eusb2_hsphy_probe()
When phy->ref_clk is NULL PTR_ERR(NULL) will be a success. Fix this by
using -ENOENT when phy->ref_clk is NULL instead.
Fixes: 80090810f5d3 ("phy: qcom: Add QCOM SNPS eUSB2 driver")
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Harshit Mogalapalli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
