Page MenuHomeFreeBSD

if_dwc: Ignore clk_set_assigned errors if "assigned_clocks" is not specified
ClosedPublic

Authored by bnovkov on Jan 20 2025, 5:58 PM.
Tags
None
Referenced Files
F140622139: D48529.diff
Fri, Dec 26, 1:54 AM
Unknown Object (File)
Sat, Dec 20, 5:24 PM
Unknown Object (File)
Sat, Dec 6, 7:08 PM
Unknown Object (File)
Sun, Nov 30, 11:05 PM
Unknown Object (File)
Nov 25 2025, 6:06 PM
Unknown Object (File)
Nov 25 2025, 8:50 AM
Unknown Object (File)
Nov 5 2025, 6:09 AM
Unknown Object (File)
Oct 28 2025, 7:32 PM
Subscribers

Details

Summary

dwc_attach will currently fail if clk_set_assigned fails, even if the
"assigned_clock" property was not specified. Since there are platforms
whose DTS files do not have this property (e.g. if_dwc_aw,
if_dwc_socfpga), do not return an error if clk_set_assigned
returns ENOENT.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped