Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177547206
D61020.1794680614.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
910 B
Referenced Files
None
Subscribers
None
D61020.1794680614.diff
View Options
diff --git a/sys/dev/clk/clk.c b/sys/dev/clk/clk.c
--- a/sys/dev/clk/clk.c
+++ b/sys/dev/clk/clk.c
@@ -1013,8 +1013,9 @@
/* Set frequency for this clock. */
rv = CLKNODE_SET_FREQ(clknode, parent_freq, freq, flags, &done);
if (rv != 0) {
- printf("Cannot set frequency for clk: %s, error: %d\n",
- clknode->name, rv);
+ if ((flags & CLK_SET_DRYRUN) == 0 || bootverbose)
+ printf("Cannot set frequency for clk: %s, error: %d\n",
+ clknode->name, rv);
if ((flags & CLK_SET_DRYRUN) == 0)
clknode_refresh_cache(clknode, parent_freq);
return (rv);
@@ -1040,8 +1041,9 @@
enablecnt);
} else {
/* End of chain without action. */
- printf("Cannot set frequency for clk: %s, end of chain\n",
- clknode->name);
+ if ((flags & CLK_SET_DRYRUN) == 0 || bootverbose)
+ printf("Cannot set frequency for clk: %s, end of chain\n",
+ clknode->name);
rv = ENXIO;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 6:23 PM (52 m, 46 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41256988
Default Alt Text
D61020.1794680614.diff (910 B)
Attached To
Mode
D61020: clk: Do not print errors when testing a frequency
Attached
Detach File
Event Timeline