Re: [origin tree build failure] [PATCH] Revert "USB: musb: make HAVE_CLK support optional"

From: Mike Frysinger
Date: Mon Oct 12 2009 - 10:40:47 EST


On Mon, Oct 12, 2009 at 10:29, Greg KH wrote:
> On Mon, Oct 12, 2009 at 09:05:57AM -0400, Mike Frysinger wrote:
>> On Mon, Oct 12, 2009 at 03:42, Ingo Molnar wrote:
>> >
>> > * Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>> >
>> >> As usual, please test this for regressions, both new and old.
>> >
>> >> Â Â Â USB: musb: make HAVE_CLK support optional
>> >
>> > This USB/Blackfin commit broke the x86 build with these config options:
>> >
>> > ÂCONFIG_USB_MUSB_HDRC=y
>> > ÂCONFIG_USB_MUSB_HOST=y
>> > Â# CONFIG_USB_MUSB_PERIPHERAL is not set
>> > Â# CONFIG_USB_MUSB_OTG is not set
>> > Â# CONFIG_USB_GADGET_MUSB_HDRC is not set
>> > ÂCONFIG_USB_MUSB_HDRC_HCD=y
>> > ÂCONFIG_MUSB_PIO_ONLY=y
>> > ÂCONFIG_USB_MUSB_DEBUG=y
>> >
>> > Because a side-effect of the patch was that it enabled the driver on x86
>> > too which doesnt have HAVE_CLK. So this formerly embedded-only driver
>> > got exposed on the more widely tested x86 platform.
>>
>> this is dumb. Âyou're addressing unrealistic scenarios (randconfig) by
>> reverting code for realistic scenarios. Âhow about updating the
>> already present arch depend string instead.
>
> We want 'randconfig' to work, so this is not unrealistic. ÂHave you not
> seen Randy Dunlap's zillion patches to get this to all work properly
> over the past months?

i'm not suggesting it not be fixed, i'm suggested it be *fixed*
instead of blindly reverted.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/