Skip to content

Commit bd0ae72

Browse files
committed
soc: nxp: imxrt11xx: Typo in clock initialization of usb2
a typo in usb2 clock initialization which impact the function of usb2. fixes: #81027 Signed-off-by: Raymond Lei <[email protected]>
1 parent d4b7bf9 commit bd0ae72

File tree

1 file changed

+1
-1
lines changed
  • soc/nxp/imxrt/imxrt11xx

1 file changed

+1
-1
lines changed

soc/nxp/imxrt/imxrt11xx/soc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ static ALWAYS_INLINE void clock_init(void)
536536
kCLOCK_Usb480M, DT_PROP_BY_PHANDLE(DT_NODELABEL(usb2), clocks, clock_frequency));
537537
CLOCK_EnableUsbhs1Clock(kCLOCK_Usb480M,
538538
DT_PROP_BY_PHANDLE(DT_NODELABEL(usb2), clocks, clock_frequency));
539-
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(usb1)) && CONFIG_USB_DC_NXP_EHCI
539+
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(usb2)) && CONFIG_USB_DC_NXP_EHCI
540540
USB_EhciPhyInit(kUSB_ControllerEhci1, CPU_XTAL_CLK_HZ, &usbPhyConfig);
541541
#endif
542542
#endif

0 commit comments

Comments
 (0)