<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/gadget/f_loopback.c, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-10-31T13:09:44Z</updated>
<entry>
<title>usb: gadget: always update HS/SS descriptors and create a copy of them</title>
<updated>2012-10-31T13:09:44Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2012-10-22T20:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10287baec761d33f0a82d84b46e37a44030350d8'/>
<id>urn:sha1:10287baec761d33f0a82d84b46e37a44030350d8</id>
<content type='text'>
HS and SS descriptors are staticaly created. They are updated during the
bind process with the endpoint address, string id or interface numbers.

After that, the descriptor chain is linked to struct usb_function which
is used by composite in order to serve the GET_DESCRIPTOR requests,
number of available configs and so on.

There is no need to assign the HS descriptor only if the UDC supports
HS speed because composite won't report those to the host if HS support
has not been reached. The same reasoning is valid for SS.

This patch makes sure each function updates HS/SS descriptors
unconditionally and uses the newly introduced helper function to create a
copy the descriptors for the speed which is supported by the UDC.

While at that, also rename f-&gt;descriptors to f-&gt;fs_descriptors in order
to make it more explicit what that means.

Cc: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: add isochronous support to gadget zero</title>
<updated>2012-05-04T12:53:08Z</updated>
<author>
<name>Paul Zimmerman</name>
</author>
<published>2012-04-16T21:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4036ccdd2ce5ec0c4f29b91312dd3cf19fc9152'/>
<id>urn:sha1:b4036ccdd2ce5ec0c4f29b91312dd3cf19fc9152</id>
<content type='text'>
Add two isochronous endpoints to the gadget zero source/sink
function. They are enabled by selecting alternate interface 1, so
by default they are not enabled. Module parameters for setting all
the isoc endpoint characteristics are also provided.

Signed-off-by: Pratyush Anand &lt;pratyush.anand@st.com&gt;
Signed-off-by: Paul Zimmerman &lt;paulz@synopsys.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: zero: fix bug in loopback autoresume handling</title>
<updated>2012-01-30T09:10:20Z</updated>
<author>
<name>Timo Juhani Lindfors</name>
</author>
<published>2012-01-29T14:12:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=683da59d7b8ae04891636d4b59893cd4e9b0b7e5'/>
<id>urn:sha1:683da59d7b8ae04891636d4b59893cd4e9b0b7e5</id>
<content type='text'>
ab943a2e125b (USB: gadget: gadget zero uses new suspend/resume hooks)
introduced a copy-paste error where f_loopback.c writes to a variable
declared in f_sourcesink.c. This prevents one from creating gadgets
that only have a loopback function.

Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Timo Juhani Lindfors &lt;timo.lindfors@iki.fi&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb gadget: clean up FSF boilerplate text</title>
<updated>2011-09-09T23:00:09Z</updated>
<author>
<name>Klaus Schwarzkopf</name>
</author>
<published>2011-09-09T14:10:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28c9fc68ebd32d473a8787d05c74e3f39c6c866b'/>
<id>urn:sha1:28c9fc68ebd32d473a8787d05c74e3f39c6c866b</id>
<content type='text'>
remove the following two paragraphs as they are not needed:

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc.,59
Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Signed-off-by: Klaus Schwarzkopf &lt;schwarzkopf@sensortherm.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb: gadget: zero: add superspeed support</title>
<updated>2011-07-08T10:57:54Z</updated>
<author>
<name>Amit Blay</name>
</author>
<published>2011-07-03T14:29:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57c97c02de0e7a59cb48d3d7666f4afaf9968e84'/>
<id>urn:sha1:57c97c02de0e7a59cb48d3d7666f4afaf9968e84</id>
<content type='text'>
This patch adds SuperSpeed descriptors to the
g_zero gadget.

The SuperSpeed descriptors were added both for
f_soursesink and f_loopback function drivers.

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Amit Blay &lt;ablay@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: use config_ep_by_speed() instead of ep_choose()</title>
<updated>2011-06-28T18:14:37Z</updated>
<author>
<name>Tatyana Brokhman</name>
</author>
<published>2011-06-28T13:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea2a1df7b2b1de839a72217d85bfb4b7b049010c'/>
<id>urn:sha1:ea2a1df7b2b1de839a72217d85bfb4b7b049010c</id>
<content type='text'>
Remove obsolete functions:
1. ep_choose()
2. usb_find_endpoint()

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb: gadget: add usb_endpoint_descriptor to struct usb_ep</title>
<updated>2011-06-28T18:14:36Z</updated>
<author>
<name>Tatyana Brokhman</name>
</author>
<published>2011-06-28T13:33:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72c973dd2b01b212a159faa330a2bc641a3ed809'/>
<id>urn:sha1:72c973dd2b01b212a159faa330a2bc641a3ed809</id>
<content type='text'>
Change usb_ep_enable() prototype to use endpoint
descriptor from usb_ep.

This optimization spares the FDs from saving the
endpoint chosen descriptor. This optimization is
not full though. To fully exploit this change, one
needs to update all the UDCs as well since in the
current implementation each of them saves the
endpoint descriptor in it's internal (and extended)
endpoint structure.

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb gadget: don't save bind callback in struct usb_configuration</title>
<updated>2010-10-22T17:21:26Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2010-08-12T15:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9bfff9c98671ad50e4abbfe1ab606a9957f7539'/>
<id>urn:sha1:c9bfff9c98671ad50e4abbfe1ab606a9957f7539</id>
<content type='text'>
The bind function is most of the time only called at init time so there
is no need to save a pointer to it in the configuration structure.

This fixes many section mismatches reported by modpost.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
[m.nazarewicz@samsung.com: updated for -next]
Signed-off-by: Michał Nazarewicz &lt;m.nazarewicz@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: Revert "USB: gadget: section mismatch warning fixed"</title>
<updated>2010-10-22T17:21:24Z</updated>
<author>
<name>Michal Nazarewicz</name>
</author>
<published>2010-08-12T15:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e12995ec8f8d99f2a339541fc28998af2d60af0f'/>
<id>urn:sha1:e12995ec8f8d99f2a339541fc28998af2d60af0f</id>
<content type='text'>
This reverts a commit which proposed an invalid solution
for a section mismatch.  Next 3 commits will fix it correctly.

Conflicts:

	drivers/usb/gadget/mass_storage.c

Signed-off-by: Michal Nazarewicz &lt;m.nazarewicz@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: gadget: section mismatch warning fixed</title>
<updated>2010-08-10T21:35:37Z</updated>
<author>
<name>Michal Nazarewicz</name>
</author>
<published>2010-06-21T11:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89ba85d4015b7fa738b35bcc228075c117a9a578'/>
<id>urn:sha1:89ba85d4015b7fa738b35bcc228075c117a9a578</id>
<content type='text'>
In may gadgets bind and bind like functions were in a init section
as they were only run during initialisation.  However, being
callback functions they were referenced from structures in “normal”
sections.  Changing the tag from “__init” to “__ref” fixes the
warnings.

Signed-off-by: Michal Nazarewicz &lt;m.nazarewicz@samsung.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
