diff options
author | Dan Carpenter <[email protected]> | 2022-10-14 12:25:06 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-10-17 10:58:02 +0530 |
commit | f37722ac71cc8b5ab86f4b3c4d9b9388e1315e8b (patch) | |
tree | 8c3ca731c57d6ec25fd3ddb570f9d17546d6c0c0 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) |
phy: stm32: fix an error code in probe
If "index > usbphyc->nphys" is true then this returns success but it
should return -EINVAL.
Fixes: 94c358da3a05 ("phy: stm32: add support for STM32 USB PHY Controller (USBPHYC)")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Amelie Delaunay <[email protected]>
Link: https://lore.kernel.org/r/Y0kq8j6S+5nDdMpr@kili
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions