diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-18 08:31:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-18 08:33:00 +0200 |
commit | b43517be379decb653f4e3455afc1636a5a5c278 (patch) | |
tree | d9d0e1688b06e2047c842494af3347da19a0fa34 /rtemsbsd/sys | |
parent | dev/rtwn: Import new files from FreeBSD. (diff) | |
download | rtems-libbsd-b43517be379decb653f4e3455afc1636a5a5c278.tar.bz2 |
ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
Diffstat (limited to 'rtemsbsd/sys')
-rwxr-xr-x | rtemsbsd/sys/dev/usb/controller/ohci_lpc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemsbsd/sys/dev/usb/controller/ohci_lpc.c b/rtemsbsd/sys/dev/usb/controller/ohci_lpc.c index ac806ec8..e70f0540 100755 --- a/rtemsbsd/sys/dev/usb/controller/ohci_lpc.c +++ b/rtemsbsd/sys/dev/usb/controller/ohci_lpc.c @@ -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 |