Page MenuHomeFreeBSD

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

Authored by bnovkov on Jan 20 2025, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 14, 7:07 AM
Unknown Object (File)
Feb 9 2025, 10:16 AM
Unknown Object (File)
Feb 8 2025, 2:58 AM
Unknown Object (File)
Feb 8 2025, 1:17 AM
Unknown Object (File)
Feb 4 2025, 9:17 PM
Unknown Object (File)
Jan 27 2025, 4:33 PM
Unknown Object (File)
Jan 24 2025, 5:06 AM
Subscribers

Details

Reviewers
br
manu
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