usb: phy: Fix USB_ULPI_VIEWPORT Kconfig dependency
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Sat, 21 Mar 2015 13:25:52 +0000 (15:25 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Mar 2015 16:35:30 +0000 (11:35 -0500)
USB_ULPI_VIEWPORT didn't depend on USB_ULPI, while USB_ULPI
is using non user selectable USB_ULPI_VIEWPORT. Fix this.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/Kconfig

index 2fb3828b50891cb7aee928f0377fd18cf8464724..2175678e674ebf4408635f5582eee50d4bb17400 100644 (file)
@@ -202,13 +202,13 @@ config USB_RCAR_GEN2_PHY
 config USB_ULPI
        bool "Generic ULPI Transceiver Driver"
        depends on ARM || ARM64
+       select USB_ULPI_VIEWPORT
        help
          Enable this to support ULPI connected USB OTG transceivers which
          are likely found on embedded boards.
 
 config USB_ULPI_VIEWPORT
        bool
-       depends on USB_ULPI
        help
          Provides read/write operations to the ULPI phy register set for
          controllers with a viewport register (e.g. Chipidea/ARC controllers).