diff options
| author | Orgad Shaneh <orgads@gmail.com> | 2026-09-01 19:33:55 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2026-09-08 16:12:20 +0200 |
| commit | 126f16e0a1b353c2ba5c7e2c8626cfa865934f9f (patch) | |
| tree | 5724aa4d78d36e4639517fdfbed4a3ea6d5e1311 /tools/perf/scripts/python | |
| parent | bbc448c541ed90d52f9ec22f17394304e3bf170e (diff) | |
| download | linux-next-126f16e0a1b353c2ba5c7e2c8626cfa865934f9f.tar.gz linux-next-126f16e0a1b353c2ba5c7e2c8626cfa865934f9f.zip | |
MIPS: Octeon: apply USB FDT fixups also when USB is modular
The uctl/usbn device-tree fixups in octeon_prune_device_tree() - which
set the board's USB reference-clock frequency and type from
__cvmx_helper_board_usb_get_clock_type() - are guarded by
"#ifdef CONFIG_USB", which is false when USB is built as a module. The
fixups then silently disappear and octeon-hcd sees whatever default the
DTS carries (12MHz crystal in octeon_3xxx.dts), leaving the PHY dead or
the bus erroring on boards with a different reference clock.
Use IS_ENABLED() so USB=m gets the same fixups as USB=y.
Fixes: 7fd57ab9d9cf ("MIPS: Octeon: Fix compile error when USB is not enabled.")
Assisted-by: Claude:claude-opus-5
Signed-off-by: Orgad Shaneh <orgads@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
