<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/class, branch v3.19</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.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-11-25T01:21:42Z</updated>
<entry>
<title>USB: cdc-acm: check for valid interfaces</title>
<updated>2014-11-25T01:21:42Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2014-11-07T16:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=403dff4e2c94f275e24fd85f40b2732ffec268a1'/>
<id>urn:sha1:403dff4e2c94f275e24fd85f40b2732ffec268a1</id>
<content type='text'>
We need to check that we have both a valid data and control inteface for both
types of headers (union and not union.)

References: https://bugzilla.kernel.org/show_bug.cgi?id=83551
Reported-by: Simon Schubert &lt;2+kernel@0x2c.org&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cdc-acm: memory leak in error case</title>
<updated>2014-11-25T01:21:41Z</updated>
<author>
<name>Oliver Neukum</name>
<email>oneukum@suse.de</email>
</author>
<published>2014-11-20T13:54:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d908f8478a8d18e66c80a12adb27764920c1f1ca'/>
<id>urn:sha1:d908f8478a8d18e66c80a12adb27764920c1f1ca</id>
<content type='text'>
If probe() fails not only the attributes need to be removed
but also the memory freed.

Reported-by: Ahmed Tamrawi &lt;ahmedtamrawi@gmail.com&gt;
Signed-off-by: Oliver Neukum &lt;oneukum@suse.de&gt;
CC: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge 3.18-rc4 into usb-next.</title>
<updated>2014-11-10T03:10:24Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2014-11-10T03:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=69b7290e51e558e1e9c1c9ee4d5d31a3809f0f03'/>
<id>urn:sha1:69b7290e51e558e1e9c1c9ee4d5d31a3809f0f03</id>
<content type='text'>
This resolves a conflict in drivers/usb/host/Kconfig

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: cdc-acm: add quirk for control-line state requests</title>
<updated>2014-11-06T20:25:40Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2014-11-06T17:08:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a8cdfde9237c4e1bd7c2e68c415b006491d23cc'/>
<id>urn:sha1:2a8cdfde9237c4e1bd7c2e68c415b006491d23cc</id>
<content type='text'>
Add new quirk for devices that cannot handle control-line state
requests.

Note that we currently send these requests to all devices, regardless of
whether they claim to support it, but that errors are only logged if
support is claimed.

Since commit 0943d8ead30e ("USB: cdc-acm: use tty-port dtr_rts"), which
only changed the timings for these requests slightly, this has been
reported to cause occasional firmware crashes on Simtec Electronics
Entropy Key devices after re-enumeration. Enable the quirk for this
device.

Reported-by: Nix &lt;nix@esperi.org.uk&gt;
Tested-by: Nix &lt;nix@esperi.org.uk&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;	# v3.16
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: cdc-acm: only raise DTR on transitions from B0</title>
<updated>2014-11-05T19:25:25Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2014-11-05T17:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4473d054ceb572557954f9536731d39b20937b0c'/>
<id>urn:sha1:4473d054ceb572557954f9536731d39b20937b0c</id>
<content type='text'>
Make sure to only raise DTR on transitions from B0 in set_termios.

Also allow set_termios to be called from open with a termios_old of
NULL. Note that DTR will not be raised prematurely in this case.

Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: class: usbtmc: delete unnecessary 'out of memory' messages</title>
<updated>2014-11-03T23:42:04Z</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2014-10-14T07:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b8f2854b06fad0ff3bb3eb0fa76813f50e03da64'/>
<id>urn:sha1:b8f2854b06fad0ff3bb3eb0fa76813f50e03da64</id>
<content type='text'>
The memory subsystem has already had similar message for it.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cdc-acm: Drop the warning for unusual capabilities</title>
<updated>2014-11-03T23:30:13Z</updated>
<author>
<name>Oliver Neukum</name>
<email>oneukum@suse.de</email>
</author>
<published>2014-10-28T09:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=61fbe96c8b131dcf246030c72dfe97a2cbfb247b'/>
<id>urn:sha1:61fbe96c8b131dcf246030c72dfe97a2cbfb247b</id>
<content type='text'>
Let's drop the warning for modems with unusual capabilities,
the associated quirk and blacklist. They made little sense.

Signed-off-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cdc-acm: ensure that termios get set when the port is activated</title>
<updated>2014-11-03T23:26:15Z</updated>
<author>
<name>Jim Paris</name>
<email>jim@jtan.com</email>
</author>
<published>2014-10-30T15:04:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=24cb4502c97b0c9bed90aae0225adb92088783d3'/>
<id>urn:sha1:24cb4502c97b0c9bed90aae0225adb92088783d3</id>
<content type='text'>
The driver wasn't properly configuring the hardware for the current
termios settings under all conditions.  Ensure that termios are
written to the device when the port is activated.

Signed-off-by: Jim Paris &lt;jim@jtan.com&gt;
Reviewed-by: Johan Hovold &lt;johan@kernel.org&gt;
Acked-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: cdc-acm: add device id for GW Instek AFG-2225</title>
<updated>2014-11-03T23:26:15Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2014-10-27T17:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf84a691a61606a2e7269907d3727e2d9fa148ee'/>
<id>urn:sha1:cf84a691a61606a2e7269907d3727e2d9fa148ee</id>
<content type='text'>
Add device-id entry for GW Instek AFG-2225, which has a byte swapped
bInterfaceSubClass (0x20).

Reported-by: Karl Palsson &lt;karlp@tweak.net.au&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: class: usbtmc.c: Cleaning up uninitialized variables</title>
<updated>2014-07-09T22:59:10Z</updated>
<author>
<name>Rickard Strandqvist</name>
<email>rickard_strandqvist@spectrumdigital.se</email>
</author>
<published>2014-06-01T13:43:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ab53eb97369a4fb19c3ba7b827b949c1015bc948'/>
<id>urn:sha1:ab53eb97369a4fb19c3ba7b827b949c1015bc948</id>
<content type='text'>
There is a risk that the variable will be used without being initialized.

This was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist &lt;rickard_strandqvist@spectrumdigital.se&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
