From: "Matwey V. Kornilov"
Subject: Fix dependency loop in tusb6010
With the following configure options, musb_hdrc and tusb6010 make dependency loop:
CONFIG_USB_MUSB_HDRC=m
CONFIG_USB_MUSB_TUSB6010=m
CONFIG_USB_TUSB_OMAP_DMA=y
tusb6010.ko provides function `tusb_get_revision` which is used by tusb6010_omap.o which is a part of musb_hdrc.ko
In its turn, tusb6010.ko uses much of functions provided by musb_hdrc.ko
The following patches are to solve the issue.
openSUSE 13.2 and 13.1 are affected by this issue. However, consequences are different.
For openSUSE 13.1 it is just impossible to load musb_hdrc.ko or its dependents.
In openSUSE 13.2, kmod package is used instead of module-tools. Now, kmod's depmod behaviour (see bnc#872715) is to fail at loop detection. The dependency loop will lead to broken build as soon as up-to-date kmod will be pushed into Factory.
Only armv7 seems to be affected by the issue.
Signed-off-by: Matwey V. Kornilov
References: bnc#872715
Signed-off-by: Matwey V. Kornilov
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org