<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/gadget, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-11-16T17:30:22Z</updated>
<entry>
<title>usb-gadget-ether: prevent oops caused by error interrupt race</title>
<updated>2007-11-16T17:30:22Z</updated>
<author>
<name>Benedikt Spranger</name>
</author>
<published>2007-10-12T22:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdef0ae05e53c9681bdb3367ca1d461e8c2277f5'/>
<id>urn:sha1:bdef0ae05e53c9681bdb3367ca1d461e8c2277f5</id>
<content type='text'>
patch 5395353e0c8272fe73ac914acd7e4add0da2bef0 in mainline.

Fix a longstanding race in the Ethernet gadget driver, which can cause an
oops on device disconnect.  The fix is just to make the TX path check
whether its freelist is empty.  That check is otherwise not necessary,
since the queue is always stopped when that list empties (and restarted
when request completion puts an entry back on that freelist).

The race window starts when the network code decides to transmit a packet,
and ends when hard_start_xmit() grabs the freelist lock.  When disconnect()
is called inside that window, it shuts down the TX queue and breaks the
otherwise-solid assumption that packets are never sent through a TX queue
that's stopped.

Signed-off-by: Benedikt Spranger &lt;bene@linutronix.de&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: fix serial gadget ACM breakage</title>
<updated>2007-09-11T14:48:16Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2007-08-26T19:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49b4f902857c3d8d95b47ae5a8cecb34ae96a3ba'/>
<id>urn:sha1:49b4f902857c3d8d95b47ae5a8cecb34ae96a3ba</id>
<content type='text'>
Two of the CDC ACM control requests in the serial gadget have never
been correct, and have been reported to cause serious troubles ... as
in, soft lockup and maybe watchdog reset (depending on hardware).

This patch makes those request fail cleanly, rather than misbehaving.
Someone using CDC ACM should fix them according to the FIXME comments
which now replace the previous bugs.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: fsl_usb2_udc: fix bug in processing setup requests</title>
<updated>2007-08-22T21:28:00Z</updated>
<author>
<name>Li Yang</name>
</author>
<published>2007-08-17T15:36:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39d1f8c9fcb241c526efa5fff5869cad7beba98e'/>
<id>urn:sha1:39d1f8c9fcb241c526efa5fff5869cad7beba98e</id>
<content type='text'>
Kim Liu found that in the original code certain class setup requests
are wrongly recognized and processed as standard setup requests.
For that reason gadget ether can't work in RNDIS mode with Windows host.

The patch fixes the setup request processing code, and makes class
requests correctly passed to gadget layer.

Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Signed-off-by: Kim Liu &lt;KLiu@vixs.com&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: g_file_storage: fix bug in DMA buffer handling</title>
<updated>2007-08-22T21:27:59Z</updated>
<author>
<name>Alan Stern</name>
</author>
<published>2007-08-17T14:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1a94f080f5bdfe46c9fb4954ffe8ae9ec29e44a'/>
<id>urn:sha1:d1a94f080f5bdfe46c9fb4954ffe8ae9ec29e44a</id>
<content type='text'>
This patch (as963) fixes a recently-introduced bug.  The gadget
conversion removing DMA-mapped buffer allocation did not remove quite
enough code from the g_file_storage driver; DMA pointers were being
set to 0.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: remove DEBUG definition from dummy_hcd</title>
<updated>2007-08-22T21:27:47Z</updated>
<author>
<name>Alan Stern</name>
</author>
<published>2007-08-08T21:16:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bd307e1b950e0aca1dbbc2b76f542f9c96b9a95'/>
<id>urn:sha1:0bd307e1b950e0aca1dbbc2b76f542f9c96b9a95</id>
<content type='text'>
This patch (as958) removes an unneeded and unwanted #define line from
dummy_hcd.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: Stall control endpoint when file storage class request wValue != 0</title>
<updated>2007-08-22T21:27:44Z</updated>
<author>
<name>Luis Lloret</name>
</author>
<published>2007-07-26T14:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88e45dbbababd29cd6c80a3e0b60a828676b3ba9'/>
<id>urn:sha1:88e45dbbababd29cd6c80a3e0b60a828676b3ba9</id>
<content type='text'>
This patch makes the File Storage Gadget stall the control endpoint
when a MSC class request is made with wValue != 0.  This change makes
some MSC compliance test warnings disappear.

Signed-off-by: Luis Lloret &lt;luislloret@gmail.com&gt;
Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>USB: px2xx_udc bugfix, missing check for gpio_pullup</title>
<updated>2007-08-22T21:27:43Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2007-08-01T19:45:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c273033906f8e85d54cb6ae052050f109440171'/>
<id>urn:sha1:8c273033906f8e85d54cb6ae052050f109440171</id>
<content type='text'>
git commit b2bbb20b37d734443d1c279d0033a64f6095db54 added direct
support for PXA GPIO D+ pullup as alternative to the older udc_command
ops method.  This was done by introduction of the pxa2xx_udc_mach_info
member "gpio_pullup" which, if initialized, is now used in (almost)
all places where udc_command used to be called.

This patch fixes two places where checks for availability of D+ pullup
control still only honor udc_command.

Signed-off-by: Uli Luckas &lt;u.luckas@road.de&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: "sparse" cleanups for usb gadgets</title>
<updated>2007-07-30T20:27:47Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2007-07-30T19:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9475226977917afd5a85621f8a3d7f380a9da31'/>
<id>urn:sha1:a9475226977917afd5a85621f8a3d7f380a9da31</id>
<content type='text'>
This removes complaints about the gadget stack which are generated by
the currrent "sparse":  it doesn't like the fact that zero is the null
pointer.  (Last I checked, C guarantees that's correct ...)

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: more pxa2xx_udc dead code removal</title>
<updated>2007-07-30T20:27:47Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2007-07-21T18:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1060bce7b74c8914999a067803ec659949ff682e'/>
<id>urn:sha1:1060bce7b74c8914999a067803ec659949ff682e</id>
<content type='text'>
Remove some more dead code from the pxa2xx_udc driver:  support
for a no-longer-undocumented hardware "test mode".  Newer chips
made this the default, evidently as the best workaround for deep
silicon bugs.  The interest was that this seemed to be the only
way to kick in the (documented!) double buffering capability.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: m66592-udc: fixes some problems</title>
<updated>2007-07-20T00:46:05Z</updated>
<author>
<name>Yoshihiro Shimoda</name>
</author>
<published>2007-07-17T12:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=598f22e11bef8171f2244128bf0341da38fe8a23'/>
<id>urn:sha1:598f22e11bef8171f2244128bf0341da38fe8a23</id>
<content type='text'>
This patch incorporates some updates from the review of the
Renesas m66592-udc driver.  Updates include:

 - Fix some locking bugs; and add a few sparse annotations
 - Don't #define __iomem !
 - Lots of whitespace fixes (most of the patch by volume)
 - Some #include file trimmage
 - Other checkpatch.pl and sparse updates
 - Alphabetized and slightly-more-informative Kconfig
 - Don't use the ID which was assigned to the amd5536udc driver.
 - Remove pointless suspend/resume methods updating obsolete field.
 - Some section fixups
 - Fix some leak bugs
 - Fix byteswapping

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Yoshihiro Shimoda &lt;shimoda.yoshihiro@renesas.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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