Re: gadget/f_loopback.c accesses sourcesink_driver.bmAttributes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Jan 2012, Timo Juhani Lindfors wrote:

> Hi,
> 
> commit ab943a2e125b098489ccaa0166c2c52f8266d9ed (from 2009 by David
> Brownell) introduces a dependency between f_loopback.c and
> f_sourcesink.c which means that I can't build a gadget that only has
> loopback function. It looks as if the line
> 
> sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
> 
> had accidentally been copies from the later to the former without
> changing "sourcesink_driver" to "loopback_driver". Am I missing
> something here or is this a bug?

It certainly looks like a copy-paste error to me.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux