Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153467611
D49684.id153287.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49684.id153287.diff
View Options
diff --git a/sys/dev/qcom_dwc3/qcom_dwc3.c b/sys/dev/qcom_dwc3/qcom_dwc3.c
--- a/sys/dev/qcom_dwc3/qcom_dwc3.c
+++ b/sys/dev/qcom_dwc3/qcom_dwc3.c
@@ -58,7 +58,7 @@
struct qcom_dwc3_softc {
struct simplebus_softc sc;
device_t dev;
- clk_t clk_master;
+ clk_t clk_core;
clk_t clk_sleep;
clk_t clk_mock_utmi;
int type;
@@ -98,8 +98,8 @@
sc->type = ofw_bus_search_compatible(dev, compat_data)->ocd_data;
/* Mandatory clocks */
- if (clk_get_by_ofw_name(dev, 0, "master", &sc->clk_master) != 0) {
- device_printf(dev, "Cannot get master clock\n");
+ if (clk_get_by_ofw_name(dev, 0, "core", &sc->clk_core) != 0) {
+ device_printf(dev, "Cannot get core clock\n");
return (ENXIO);
}
@@ -121,10 +121,10 @@
/*
* Now, iterate over the clocks and enable them.
*/
- err = clk_enable(sc->clk_master);
+ err = clk_enable(sc->clk_core);
if (err != 0) {
device_printf(dev, "Could not enable clock %s\n",
- clk_get_name(sc->clk_master));
+ clk_get_name(sc->clk_core));
return (ENXIO);
}
err = clk_enable(sc->clk_sleep);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 8:21 AM (1 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31923757
Default Alt Text
D49684.id153287.diff (1 KB)
Attached To
Mode
D49684: qcom_dwc3: update naming to match the later device tree drops.
Attached
Detach File
Event Timeline
Log In to Comment