]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: fix Kconfig regression
authorArnd Bergmann <arnd@arndb.de>
Fri, 27 Feb 2015 23:19:41 +0000 (00:19 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 9 Mar 2015 15:44:35 +0000 (10:44 -0500)
commitd142e5fd31e42d869f1d35209402c3289cbfdf35
tree23bf44218845953f6d73ade7d7f2a8ce4391e0da
parent3a21bfdc1a04cf4fda2db20a3928b480ff386004
usb: musb: fix Kconfig regression

A recent bug fix I did that was marked for stable backports
introduced a slightly wrong dependency on CONFIG_OMAP_CONTROL_PHY.

I was missing the fact that the PHY driver already stubs out the
omap_control_usb_set_mode, and we only need to add a dependency
to prevent the musb-omap2430 driver from being built-in when
the phy driver is a loadable module, but we should not prevent it
from being built altogether when the phy driver is disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 454ef9858e0ae6 ("usb: start using the control module driver")
Cc: <stable@vger.kernel.org> # v3.9+
Acked-by: Acked-by: Pavel Machek <pavel@ucw.cz>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/Kconfig