phy: keystone-usb: Do not negate return code

In keystone_usb_init the return code from psc_enable_module should be
returned as is rather than being negated.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
This commit is contained in:
Andrew Goodbody
2025-08-06 16:47:46 +01:00
committed by Tom Rini
parent 3f486367bc
commit 26d9bd1ccd

View File

@@ -41,7 +41,7 @@ static int keystone_usb_init(struct phy *phy)
rc = psc_enable_module(keystone->psc_domain);
if (rc) {
debug("Cannot enable USB module");
return -rc;
return rc;
}
mdelay(10);