<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/misc, branch v3.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-01-31T09:09:19Z</updated>
<entry>
<title>USB: altsetting overrides for usbtest</title>
<updated>2013-01-31T09:09:19Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2013-01-30T21:38:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d0b4652f80c3276a57ede3b6b6d8159fa26c091f'/>
<id>urn:sha1:d0b4652f80c3276a57ede3b6b6d8159fa26c091f</id>
<content type='text'>
The usbtest driver includes some rather simple-minded logic for
selecting an altsetting to test.  It doesn't work well for the g_zero
gadget, because it selects altsetting 0 (which doesn't have
isochronous endpoints) rather than altsetting 1 (which does have them,
if the gadget's hardware supports them).  This prevents usbtest's
isochronous tests (15, 16, 22, and 23) from working with g_zero.

Since g_zero is one of the most common gadget drivers used for USB
testing, usbtest should do a better job of supporting it.  But since
some programs may rely on the current scheme for selecting
altsettings, I didn't want to change it.

Instead, this patch (as1655) adds a module parameter to usbtest, which
can be used to override the default altsetting.  Since usbtest is
never used by normal users (most distributions probably don't even
build it), the new module parameter won't inconvenience anybody.  In
any case, it is entirely optional -- leaving it unset preserves the
existing behavior.

The patch also fixes a related bug in usbtest: After selecting an
altsetting, the driver neglects to store its selection.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: misc: usb3503: Fix compiler warning</title>
<updated>2013-01-25T17:56:54Z</updated>
<author>
<name>Dongjin Kim</name>
<email>tobetter@gmail.com</email>
</author>
<published>2013-01-25T16:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8ab03dd48a549f140597a55a1564083b171d1349'/>
<id>urn:sha1:8ab03dd48a549f140597a55a1564083b171d1349</id>
<content type='text'>
This patch fixes the compiler warning of uninitialized variable.

drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’:
drivers/usb/misc/usb3503.c:215:13: warning: ‘mode’ may be used uninitialized
in this function [-Wuninitialized]

Signed-off-by: Dongjin Kim &lt;tobetter@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: misc: usb3503: add dt support</title>
<updated>2013-01-24T21:42:10Z</updated>
<author>
<name>Dongjin Kim</name>
<email>tobetter@gmail.com</email>
</author>
<published>2013-01-23T17:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eab8050c0168ab6595e9ac6bc72a14d27390ea7a'/>
<id>urn:sha1:eab8050c0168ab6595e9ac6bc72a14d27390ea7a</id>
<content type='text'>
Added device tree support for usb3503 driver and add new document with device tree binding information.

Signed-off-by: Dongjin Kim &lt;tobetter@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge 3.8-rc4 into usb-next</title>
<updated>2013-01-18T17:17:17Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-01-18T17:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cbf50a4125f5242dd70b1f2342dbba2d94c6d94e'/>
<id>urn:sha1:cbf50a4125f5242dd70b1f2342dbba2d94c6d94e</id>
<content type='text'>
This pulls in all of the -rc4 fixes into usb-next to sync things up.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: misc: fixup smatch WARNING</title>
<updated>2013-01-17T18:21:15Z</updated>
<author>
<name>Dongjin Kim</name>
<email>tobetter@gmail.com</email>
</author>
<published>2013-01-12T11:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7a8ea7ebe4cf698918e7d3c860587e815eaa0f28'/>
<id>urn:sha1:7a8ea7ebe4cf698918e7d3c860587e815eaa0f28</id>
<content type='text'>
This patch fixes the warning,

6a099c63650e50ebf7d1259b859a3d230aec4207 [4/10] USB: misc: Add USB3503 High-Speed Hub Controller

drivers/usb/misc/usb3503.c:238 usb3503_probe() error: we previously assumed 'pdata' could be null (see line 196)

Signed-off-by: Dongjin Kim &lt;tobetter@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: misc: usb3503_probe() can be static</title>
<updated>2013-01-17T18:21:15Z</updated>
<author>
<name>Fengguang Wu</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2013-01-12T05:15:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=74ff31b81d94c139882258e9e4a73aca28d05b0a'/>
<id>urn:sha1:74ff31b81d94c139882258e9e4a73aca28d05b0a</id>
<content type='text'>
Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: misc: Add USB3503 High-Speed Hub Controller</title>
<updated>2013-01-11T20:12:07Z</updated>
<author>
<name>Dongjin Kim</name>
<email>tobetter@gmail.com</email>
</author>
<published>2012-12-07T20:18:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6a099c63650e50ebf7d1259b859a3d230aec4207'/>
<id>urn:sha1:6a099c63650e50ebf7d1259b859a3d230aec4207</id>
<content type='text'>
This patch adds new driver of SMSC USB3503 USB 2.0 hub controller with HSIC
upstream connectivity and three USB 2.0 downstream ports. The specification
can be found from 'http://www.smsc.com/index.php?tid=295&amp;pid=325'.

The current version have been tested very basic features switching the modes,
HUB-MODE and STANDBY-MODE.

Signed-off-by: Dongjin Kim &lt;tobetter@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: usbtest: fix test number in log message</title>
<updated>2013-01-07T18:34:20Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2013-01-02T18:58:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2cb5000057fbd2237c19b8b8bd4f6948fd11f5f8'/>
<id>urn:sha1:2cb5000057fbd2237c19b8b8bd4f6948fd11f5f8</id>
<content type='text'>
This patch (as1639) fixes a minor bug in the usbtest driver.  Due to
concurrent changes, a test originally written as number 17 got changed
to number 24, but the corresponding change was not made in the log
message.  This updates the log message.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ezusb: add dependency to USB</title>
<updated>2012-11-26T22:57:20Z</updated>
<author>
<name>Rene Buergel</name>
<email>rene.buergel@sohard.de</email>
</author>
<published>2012-11-22T18:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9db72fe6c943852032d9ed863c87e8c02d3cb9da'/>
<id>urn:sha1:9db72fe6c943852032d9ed863c87e8c02d3cb9da</id>
<content type='text'>
This fixes an error during modpost, when ezusb is built into the kernel
while USB is built as module.

Signed-off-by: René Bürgel &lt;rene.buergel@sohard.de&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
--
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: usbtest: prevent a divide by zero bug</title>
<updated>2012-11-21T21:32:26Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2012-11-17T15:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=564e69893c63cefe4bcbdeda4f940bf68b6b4491'/>
<id>urn:sha1:564e69893c63cefe4bcbdeda4f940bf68b6b4491</id>
<content type='text'>
If param-&gt;length is zero, then this could lead to a divide by zero bug
later in the function when we do: size %= max;

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
