hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/phy/ti/phy-da8xx-usb.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * phy-da8xx-usb - TI DaVinci DA8xx USB PHY driver
34 *
45 * Copyright (C) 2016 David Lechner <david@lechnology.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; version 2 of the License.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
146 */
157
168 #include <linux/clk.h>
....@@ -93,7 +85,8 @@
9385 return 0;
9486 }
9587
96
-static int da8xx_usb20_phy_set_mode(struct phy *phy, enum phy_mode mode)
88
+static int da8xx_usb20_phy_set_mode(struct phy *phy,
89
+ enum phy_mode mode, int submode)
9790 {
9891 struct da8xx_usb_phy *d_phy = phy_get_drvdata(phy);
9992 u32 val;