]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: Ensure USB_ROLE_SWITCH is set as a dependency for tps6598x
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 20 May 2020 15:36:17 +0000 (16:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2020 07:36:42 +0000 (09:36 +0200)
commit8fb03972c672a488525fda0615e4ebf5b24351f1
treeb3c97e362affa2423d9c9204c2012cca7b62df14
parent4627acb5de52e19e4e7ef724cbfb5bdd1bb49cd2
usb: typec: Ensure USB_ROLE_SWITCH is set as a dependency for tps6598x

When I switched on USB role switching for the tps6598x I completely forgot
to add the Kconfig dependency.

Ensure USB_ROLE_SWITCH is selected to prevent the typs6598x driver being
compiled in but the role-switch driver being compiled as a module, leading
to link error.

Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200520153617.610909-1-bryan.odonoghue@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/Kconfig