]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
musb: fix USB_MUSB_TUSB6010 dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Aug 2022 13:57:20 +0000 (15:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Aug 2022 14:33:06 +0000 (16:33 +0200)
commita3f2fd22743fc56dd5e3896a3fbddd276df1577f
tree54792b025b67f963239d2fe9f8aa6301fe606889
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
musb: fix USB_MUSB_TUSB6010 dependency

Turning on NOP_USB_XCEIV as builtin broke the TUSB6010 driver because
of an older issue with the depencency.

It is not necessary to forbid NOP_USB_XCEIV=y in combination with
USB_MUSB_HDRC=m, but only the reverse, which causes the link failure
from the original Kconfig change.

Use the correct dependency to still allow NOP_USB_XCEIV=n or
NOP_USB_XCEIV=y but forbid NOP_USB_XCEIV=m when USB_MUSB_HDRC=m
to fix the multi_v7_defconfig for tusb.

Fixes: ab37a7a890c1 ("ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in")
Fixes: c0442479652b ("usb: musb: Fix randconfig build issues for Kconfig options")
Cc: stable <stable@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20220818135737.3143895-10-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/Kconfig