diff --git a/arch/arm/src/lpc17xx/lpc17_usbhost.c b/arch/arm/src/lpc17xx/lpc17_usbhost.c index e7e71d3ab786879bcd9904bd7d83c67d33b7dc72..291d53ab7e8d3ce08ecfb15bc7cd2e6e7a34c479 100755 --- a/arch/arm/src/lpc17xx/lpc17_usbhost.c +++ b/arch/arm/src/lpc17xx/lpc17_usbhost.c @@ -1409,6 +1409,7 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller) * 10: reserved * 11: U1=host, U2=device * + * We need only select U1=host (Bit 0=1); * NOTE: The PORTSEL clock needs to be enabled when accessing OTGSTCTRL */ @@ -1418,7 +1419,7 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller) lpc17_putreg((LPC17_CLKCTRL_ENABLES & ~USBDEV_CLK_PORTSELCLK), LPC17_USBOTG_CLKCTRL); - /* Step 3: Configure I/O pins */ + /* Configure I/O pins */ usbhost_dumpgpio(); lpc17_configgpio(GPIO_USB_DP); /* Positive differential data */ diff --git a/include/nuttx/usb/ohci.h b/include/nuttx/usb/ohci.h index d8d1d5cdfa4f60b48f98b087f3c21feede022508..cb96bc2c3475287872464f4c59421091eb48056b 100755 --- a/include/nuttx/usb/ohci.h +++ b/include/nuttx/usb/ohci.h @@ -139,8 +139,8 @@ /* Bits 17-31: Reserved */ /* HcInterruptStatus: HC interrupt status (7.1.4), - * HcInterruptEnable: HC interrupt enable (7.1.5), and - * HcInterruptDisable: HC interrupt disable (7.1.6) + * HcInterruptEnable: HC interrupt enable (7.1.5), and + * HcInterruptDisable: HC interrupt disable (7.1.6) */ #define OHCI_INT_SO (1 << 0) /* Bit 0: Scheduling overrun */