diff options
author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2025-07-10 20:24:02 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-07-15 18:06:47 +0300 |
commit | b7acfeab8af9ee661c933522132f3d1d92ed12d6 (patch) | |
tree | 4b86d0b092717f04b1585d68df4e2c665dcbc6a9 /scripts/gdb/linux/interrupts.py | |
parent | cf0233491b3a15933234a26efd9ecbc1c0764674 (diff) | |
download | linux-b7acfeab8af9ee661c933522132f3d1d92ed12d6.tar.xz |
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 <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/aDCbeuCTy9zyWJAM@stanley.mountain/
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://lore.kernel.org/r/20250710172403.2593193-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions