mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 05:40:40 +08:00
ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
This commit is contained in:
@@ -311,6 +311,8 @@ ohci_lpc_resume(device_t self)
|
||||
int eno = 0;
|
||||
|
||||
#ifdef BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
|
||||
ohci_softc_t *e = device_get_softc(self);
|
||||
|
||||
if (eno == 0) {
|
||||
eno = lpc_otg_clk_ctrl(
|
||||
LPC_OTG_CLK_AHB | LPC_OTG_CLK_HOST | LPC_OTG_CLK_I2C
|
||||
|
Reference in New Issue
Block a user