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)
Mon, Aug 17, 1:29 AM
Unknown Object (File)
Sat, Aug 15, 3:45 AM
Unknown Object (File)
Thu, Aug 13, 12:23 AM
Unknown Object (File)
Wed, Aug 12, 2:46 PM
Unknown Object (File)
Mon, Aug 10, 12:52 PM
Unknown Object (File)
Mon, Aug 10, 10:18 AM
Unknown Object (File)
Sat, Aug 8, 9:09 PM
Unknown Object (File)
Sat, Aug 8, 12:55 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