Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115789911
D45159.id138387.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
342 B
Referenced Files
None
Subscribers
None
D45159.id138387.diff
View Options
diff --git a/sys/dev/uart/uart_bus_fdt.c b/sys/dev/uart/uart_bus_fdt.c
--- a/sys/dev/uart/uart_bus_fdt.c
+++ b/sys/dev/uart/uart_bus_fdt.c
@@ -234,7 +234,8 @@
(struct uart_class *)uart_fdt_find_by_node(node, 1);
if (class == NULL)
return (ENXIO);
- clk = 0;
+ if (uart_fdt_get_clock(node, &clk) != 0)
+ clk = 0;
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 29, 5:04 PM (18 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17835170
Default Alt Text
D45159.id138387.diff (342 B)
Attached To
Mode
D45159: uart: Honour clock-frequency in FDT for UART_FDT_CLASS if present
Attached
Detach File
Event Timeline
Log In to Comment