Re: [RFC][PATCH] usb: gadget: Allow to build both USB functions and legacy gadgets

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

 



Krzysztof Opasiak <kopasiak90@xxxxxxxxx> writes:

> Hi,
>
> On Tue, Jun 7, 2016 at 3:27 AM, Peter Chen <hzpeterchen@xxxxxxxxx> wrote:
>> On Mon, Jun 06, 2016 at 09:40:33PM +0200, Krzysztof Opasiak wrote:
>>> Currently it is possible to build in some subset of usb functions
>>> *OR* some gadget module. This is limited only by Kconfig not
>>> any functionality.
>>>
>>> This patch removes this limitation. With this patch it is possible
>>> to set up all build combinations:
>>> 1) Multiple gadgets build in
>>
>> If that, what the user will expect if choosing multiple gadgets?
>> Eg, if he chooses g_ncm and g_mass_storage, will he expect
>> his udc has both mass_storage and ncm function, but it is
>> not the fact, only the first gadget function will work.
>>
>
> Not exactly one. You may build in multiple modules and use those
> multiple modules if you have multiple udcs.

that's why we introduced configfs, right? That's the only way to be sure
which UDC will bind to which gadget.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux