diff options
| author | Dan Carpenter <[email protected]> | 2022-10-14 09:25:06 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-10-17 05:25:26 +0000 |
| commit | ca1c73628f5bd0c1ef6e46073cc3be2450605b06 (patch) | |
| tree | f5c31db8e7cdd49078d239153760c86a1771b9c9 /drivers/platform/x86/intel/pmt/class.c | |
| parent | MAINTAINERS: Update Kishon's email address in GENERIC PHY FRAMEWORK (diff) | |
| download | kernel-ca1c73628f5bd0c1ef6e46073cc3be2450605b06.tar.gz kernel-ca1c73628f5bd0c1ef6e46073cc3be2450605b06.zip | |
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 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
