<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/gadget/printer.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-24T23:20:33Z</updated>
<entry>
<title>USB: replace uses of __constant_{endian}</title>
<updated>2009-03-24T23:20:33Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2009-02-11T22:11:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=551509d267905705f6d723e51ec706916f06b859'/>
<id>urn:sha1:551509d267905705f6d723e51ec706916f06b859</id>
<content type='text'>
The base versions handle constant folding now.

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>usb gadget: USB_GADGET_VBUS_DRAW Kconfig option</title>
<updated>2008-10-17T21:40:58Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2008-09-12T16:39:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36e893d25aa2abcae0f11ef263de0e8322641386'/>
<id>urn:sha1:36e893d25aa2abcae0f11ef263de0e8322641386</id>
<content type='text'>
Offer a "how much VBUS power to request" configuration option
for USB gadgets that aren't using board-specific customization
of their gadget or (composite) configuration drivers.

Also remove a couple pointless "depends on USB_GADGET" bits
from the Kconfig text; booleans inside an "if USB_GADGET" will
already have that dependency.

Based on a patch from Justin Clacherty.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Justin Clacherty &lt;justin@redfish-group.com&gt;
Tested-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: g_printer: fix handling zero-length packet</title>
<updated>2008-10-17T21:40:56Z</updated>
<author>
<name>SangSu Park</name>
</author>
<published>2008-09-22T22:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8296345a35551414b07419f4c9223734c1fc5437'/>
<id>urn:sha1:8296345a35551414b07419f4c9223734c1fc5437</id>
<content type='text'>
g_printer doesn't have to check whether the data size is a multiple of
MaxPacketSize, because device controller driver already make that check.

Signed-off-by: SangSu Park&lt;sangsu@gmail.com&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Greg KH &lt;greg@kroah.com&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 gadget: link fixes for printer gadget</title>
<updated>2008-10-16T16:24:46Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2008-08-19T00:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a56b03f68d93ddaaaf11281fed9a7940ff62216'/>
<id>urn:sha1:0a56b03f68d93ddaaaf11281fed9a7940ff62216</id>
<content type='text'>
Change how the printer gadget driver builds:  don't use
separate compilation, since it works poorly when key parts
are library code (with init sections etc).  Instead be as
close as we can to "gcc --combine ...".

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>device create: usb: convert device_create_drvdata to device_create</title>
<updated>2008-10-16T16:24:45Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2008-07-22T03:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0b090e5792fa228b5c825fcc5e1b7b0da7abec9'/>
<id>urn:sha1:b0b090e5792fa228b5c825fcc5e1b7b0da7abec9</id>
<content type='text'>
Now that device_create() has been audited, rename things back to the
original call to be sane.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Rename WARN() to WARNING() to clear the namespace</title>
<updated>2008-07-25T17:53:29Z</updated>
<author>
<name>Arjan van de Ven</name>
</author>
<published>2008-07-25T08:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6c63937001889af6fe431aaba97e59d04e028e7'/>
<id>urn:sha1:b6c63937001889af6fe431aaba97e59d04e028e7</id>
<content type='text'>
We want to use WARN() as a variant of WARN_ON(), however a few drivers are
using WARN() internally.  This patch renames these to WARNING() to avoid the
namespace clash.  A few cases were defining but not using the thing, for those
cases I just deleted the definition.

Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Acked-by: Greg KH &lt;greg@kroah.com&gt;
Cc: Karsten Keil &lt;kkeil@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>device create: usb: convert device_create to device_create_drvdata</title>
<updated>2008-07-22T04:54:46Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2008-05-21T19:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc00bc924295f02295fe5eeeba3618ba0d0db1ef'/>
<id>urn:sha1:bc00bc924295f02295fe5eeeba3618ba0d0db1ef</id>
<content type='text'>
device_create() is race-prone, so use the race-free
device_create_drvdata() instead as device_create() is going away.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: gadget: Push BKL down into drivers</title>
<updated>2008-07-21T22:16:18Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-05-22T21:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44c389a00ff7229ab2f2aab22ce03ae0c9037df7'/>
<id>urn:sha1:44c389a00ff7229ab2f2aab22ce03ae0c9037df7</id>
<content type='text'>
This keeps the gadget ioctl method wrapped but pushes the BKL down into
the gadget code so we can use unlocked_ioctl().

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>printer gadget: BKL pushdown</title>
<updated>2008-06-20T20:05:52Z</updated>
<author>
<name>Jonathan Corbet</name>
</author>
<published>2008-05-16T20:21:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2f2ba01b2a4356e92231669f7e3dcee37ac2fca'/>
<id>urn:sha1:b2f2ba01b2a4356e92231669f7e3dcee37ac2fca</id>
<content type='text'>
Add explicit lock_kernel() calls to printer_open()

Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>USB: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-25T04:16:55Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2008-03-04T00:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=441b62c1edb986827154768d89bbac0ba779984f'/>
<id>urn:sha1:441b62c1edb986827154768d89bbac0ba779984f</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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