lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Fix USB Kconfig
    On Fri, Mar 30, 2012 at 12:05:32PM +0100, Rupesh Gujare wrote:
    > Fix menuconfig option for USB.
    >
    > Signed-off-by: Rupesh Gujare <rgujare@ozmodevices.com>
    > Reported-by: Borislav Petkov <bp@alien8.de>
    > ---
    > drivers/usb/Kconfig | 14 +++++++-------
    > 1 files changed, 7 insertions(+), 7 deletions(-)
    >
    > diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
    > index cbd8f5f..884f3fa 100644
    > --- a/drivers/usb/Kconfig
    > +++ b/drivers/usb/Kconfig
    > @@ -10,6 +10,13 @@ menuconfig USB_SUPPORT
    > This option adds core support for Universal Serial Bus (USB).
    > You will also need drivers from the following menu to make use of it.
    >
    > +if USB_SUPPORT
    > +
    > +config USB_COMMON
    > + tristate
    > + default y
    > + depends on USB || USB_GADGET
    > +
    > # many non-PCI SOC chips embed OHCI
    > config USB_ARCH_HAS_OHCI
    > boolean
    > @@ -63,13 +70,6 @@ config USB_ARCH_HAS_XHCI
    > boolean
    > default PCI
    >
    > -if USB_SUPPORT
    > -
    > -config USB_COMMON
    > - tristate
    > - default y
    > - depends on USB || USB_GADGET
    > -
    > # Host-side USB depends on having a host controller
    > # NOTE: dummy_hcd is always an option, but it's ignored here ...
    > # NOTE: SL-811 option should be board-specific ...

    Reportedly, there's a fix for this already, see thread at
    http://marc.info/?l=linux-usb&m=133310173203793&w=2

    Thanks.

    --
    Regards/Gruss,
    Boris.


    \
     
     \ /
      Last update: 2012-03-30 14:51    [W:0.023 / U:32.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site