Re: [PATCH] usb: rework CONFIG_USB_COMMON logic

From: Felipe Balbi
Date: Thu Feb 04 2016 - 06:50:00 EST



Hi Greg,

Arnd Bergmann <arnd@xxxxxxxx> writes:
> The phy-am335x driver selects 'USB_COMMON', but all other drivers
> use 'depends on' for that symbol, and it depends on USB || USB_GADGET
> itself, which causes a Kconfig warning:
>
> warning: (AM335X_PHY_USB) selects USB_COMMON which has unmet direct dependencies (USB_SUPPORT && (USB || USB_GADGET))
>
> As suggested by Felipe Balbi, this turns the logic around, and makes
> 'USB_COMMON' selected by everything else that needs it, so we can
> remove the dependencies.
>
> Fixes: 59f042f644c5 ("usb: phy: phy-am335x: bypass first VBUS sensing for host-only mode")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

In case you wanna take this one directly to your queue, here's my Ack:

Acked-by: Felipe Balbi <balbi@xxxxxxxxxx>

Let me know if you prefer that I take this through the gadget tree.

cheers

--
balbi

Attachment: signature.asc
Description: PGP signature