hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/phy/qualcomm/phy-qcom-usb-hsic.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * Copyright (C) 2016 Linaro Ltd
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85 #include <linux/module.h>
96 #include <linux/ulpi/driver.h>
....@@ -57,8 +54,10 @@
5754
5855 /* Configure pins for HSIC functionality */
5956 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT);
60
- if (IS_ERR(pins_default))
61
- return PTR_ERR(pins_default);
57
+ if (IS_ERR(pins_default)) {
58
+ ret = PTR_ERR(pins_default);
59
+ goto err_ulpi;
60
+ }
6261
6362 ret = pinctrl_select_state(uphy->pctl, pins_default);
6463 if (ret)