From: Borislav Petkov <bp@alien8.de>
To: Rupesh Gujare <rgujare@ozmodevices.com>
Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org
Subject: Re: [PATCH] Fix USB Kconfig
Date: Fri, 30 Mar 2012 14:48:11 +0200 [thread overview]
Message-ID: <20120330124811.GA27330@x1.osrc.amd.com> (raw)
In-Reply-To: <1333105532-7668-1-git-send-email-rgujare@ozmodevices.com>
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.
next prev parent reply other threads:[~2012-03-30 12:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-30 10:00 menuconfig looks funny since recently, i.e. USB gains on importance :) Borislav Petkov
2012-03-30 10:55 ` Anatolij Gustschin
2012-03-30 11:05 ` [PATCH] Fix USB Kconfig Rupesh Gujare
2012-03-30 12:48 ` Borislav Petkov [this message]
2012-03-30 12:51 ` Rupesh Gujare
2012-03-30 11:28 ` menuconfig looks funny since recently, i.e. USB gains on importance :) Jiri Kosina
2012-03-30 12:27 ` Borislav Petkov
2012-03-30 16:27 ` David Daney
2012-03-30 16:32 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120330124811.GA27330@x1.osrc.amd.com \
--to=bp@alien8.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rgujare@ozmodevices.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox