From: Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Sachin Kamat
<sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Dave Airlie <airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
USB list <linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: Kconfig DRM_USB/DRM_UDL, and select vs. depends, and causing Tegra USB to be disabled
Date: Tue, 4 Sep 2012 13:00:25 -0700 [thread overview]
Message-ID: <20120904200025.GA18336@roeck-us.net> (raw)
In-Reply-To: <50465430.3090806-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
On Tue, Sep 04, 2012 at 01:19:12PM -0600, Stephen Warren wrote:
> With respect to the following commits:
>
> df0b344 drm/usb: select USB_SUPPORT in Kconfig
> 8f057d7 gpu/mfd/usb: Fix USB randconfig problems
>
> ... which end up with the following in next-20120904:
>
> config DRM_USB
> depends on DRM
> depends on USB_ARCH_HAS_HCD
> select USB
> select USB_SUPPORT
>
> config DRM_UDL
> depends on DRM && EXPERIMENTAL
> depends on USB_ARCH_HAS_HCD
> select DRM_USB
>
> Surely this is backwards; these should be dependencies, not selects? In
> other words:
>
> config DRM_USB
> depends on DRM && USB
>
> config DRM_UDL
> depends on DRM && EXPERIMENTAL && USB
> select DRM_USB
>
> or perhaps:
>
> config DRM_USB
> depends on DRM && USB
>
> config DRM_UDL
> depends on DRM && EXPERIMENTAL && DRM_USB
>
> The problem here is that currently, the dependency logic for USB:
>
> config USB
> depends on USB_ARCH_HAS_HCD
>
> ... is duplicated into each of DRM_USB and DRM_UDL, thus requiring both
> of those to be edited should the dependencies for USB ever change.
>
This should be fixed with in https://patchwork.kernel.org/patch/1373371/ (drm:
udl: usb: Fix recursive Kconfig dependency), which should make it into the next
iteration of linux-next.
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-09-04 20:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 19:19 Kconfig DRM_USB/DRM_UDL, and select vs. depends, and causing Tegra USB to be disabled Stephen Warren
[not found] ` <50465430.3090806-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-04 20:00 ` Guenter Roeck [this message]
[not found] ` <20120904200025.GA18336-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2012-09-04 21:01 ` Stephen Warren
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=20120904200025.GA18336@roeck-us.net \
--to=linux-0h96xk9xttrk1umjsbkqmq@public.gmane.org \
--cc=airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).