HomeFreeBSD

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

Description

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

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.

Reviewed by: manu
Differential review: https://reviews.freebsd.org/D48529

Details

Provenance
bnovkovAuthored on Jan 18 2025, 7:04 PM
Differential Revision
D48529: if_dwc: Ignore clk_set_assigned errors if "assigned_clocks" is not specified
Parents
rG89e650eacc9b: sdhci: Add driver for the cvitek sdhci controller
Branches
Unknown
Tags
Unknown