c336fae2c5
The changes brought by commit 73de93440186 have been inadvertidly
removed, causing ci_hdrc_imx's probe to be loaded before usbmisc_imx's,
despite ci_hdrc_imx needing usbmisc_imx.
This condition may cause unexpected behaviors, especially when the
ChipIdea node is being referred to under /sys/class/udc/:
$ ls -l /sys/class/udc/
$
when it should show as the following:
$ ls -l /sys/class/udc/
ci_hdrc.0 -> ../../devices/[...]/ci_hdrc.0/udc/ci_hdrc.0
Some userspace tools may depend on this feature[1].
[1]: 69029e71b0/linuxrc (L148)
Fixes: 95caa2ae70fd ("usb: chipidea: allow disabling glue drivers if EMBEDDED")
Signed-off-by: Thomas Ballasi <thomas.ballasi@savoirfairelinux.com>
Link: https://lore.kernel.org/r/20230330221637.1605161-1-thomas.ballasi@savoirfairelinux.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 lines
644 B
Makefile
19 lines
644 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# define_trace.h needs to know how to find our header
|
|
CFLAGS_trace.o := -I$(src)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
ci_hdrc-y := core.o otg.o debug.o ulpi.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o trace.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
|
|
ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
|
|
|
|
# Glue/Bridge layers go here
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA_GENERIC) += ci_hdrc_usb2.o
|
|
obj-$(CONFIG_USB_CHIPIDEA_MSM) += ci_hdrc_msm.o
|
|
obj-$(CONFIG_USB_CHIPIDEA_PCI) += ci_hdrc_pci.o
|
|
obj-$(CONFIG_USB_CHIPIDEA_IMX) += usbmisc_imx.o ci_hdrc_imx.o
|
|
obj-$(CONFIG_USB_CHIPIDEA_TEGRA) += ci_hdrc_tegra.o
|