Re: Droid 4: very confusing config around OHCI_OMAP3_HCD

From: Tony Lindgren
Date: Thu May 03 2018 - 15:28:47 EST


* Pavel Machek <pavel@xxxxxx> [180503 19:27]:
> Hi!
>
> For power management experiments, I tried
>
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_HCD_OMAP3=m
> CONFIG_USB_OHCI_HCD_PLATFORM=y
>
> and could not find resulting .ko.
>
> Help text says:
>
> CONFIG_USB_OHCI_HCD_OMAP3:
>
> This option is deprecated now and the driver was removed, use
> USB_OHCI_HCD_PLATFORM instead.
>
> Enables support for the on-chip OHCI controller on
> OMAP3 and later chips.
>
> Which may partly explain it. But if the option no longer does
> anything, why keep it? Certainly second part is confusing if option is
> NOP...

Yeah it's ohci-platform now, I think we decided to keep the old one
around to avoid breaking people's .config files for booting rather
than silently fail.

Regards,

Tony