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
Unknown Object (File)
Sun, Sep 13, 11:12 AM
Unknown Object (File)
Fri, Aug 28, 1:41 PM
Unknown Object (File)
Fri, Aug 28, 12:55 PM
Unknown Object (File)
Mon, Aug 24, 10:57 PM
Unknown Object (File)
Aug 17 2026, 1:29 AM
Unknown Object (File)
Aug 15 2026, 3:45 AM
Unknown Object (File)
Aug 13 2026, 12:23 AM
Unknown Object (File)
Aug 12 2026, 2:46 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