]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit1c390eb360c3f6bc9a06d2260eccad195c505de5
tree23bf44218845953f6d73ade7d7f2a8ce4391e0da
parent798523973dcc93c2440932dc4dfe76fbf571f668
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: ca784be36cc725 ("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