usb: chipidea: Always build ULPI code
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 4 Jul 2018 13:09:58 +0000 (10:09 -0300)
committerPeter Chen <peter.chen@nxp.com>
Thu, 5 Jul 2018 06:22:47 +0000 (14:22 +0800)
commita930d8bd94d8db7715d1af74299f710b1fb22fc8
tree9f5e905ba2d47d7fd6811189331a472e800f63fe
parent90f26cc6bb90b35040f4da0347f480ea9df6e2fc
usb: chipidea: Always build ULPI code

Commit 03e6275ae381 ("usb: chipidea: Fix ULPI on imx51") causes a kernel
hang on imx51 systems that use the ULPI interface and do not select the
CONFIG_USB_CHIPIDEA_ULPI option.

In order to avoid such potential misuse, let's always build the
chipidea ULPI code into the final ci_hdrc object.

Tested on a imx51-babbage board.

Fixes: 03e6275ae381 ("usb: chipidea: Fix ULPI on imx51")
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/Kconfig
drivers/usb/chipidea/Makefile
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/ulpi.c