<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/serial, branch v3.13</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.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-12-09T21:14:12Z</updated>
<entry>
<title>usb: serial: zte_ev: move support for ZTE AC2726 from zte_ev back to option</title>
<updated>2013-12-09T21:14:12Z</updated>
<author>
<name>Dmitry Kunilov</name>
<email>dmitry.kunilov@gmail.com</email>
</author>
<published>2013-12-03T20:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=52d0dc7597c89b2ab779f3dcb9b9bf0800dd9218'/>
<id>urn:sha1:52d0dc7597c89b2ab779f3dcb9b9bf0800dd9218</id>
<content type='text'>
ZTE AC2726 EVDO modem drops ppp connection every minute when driven by
zte_ev but works fine when driven by option. Move the support for AC2726
back to option driver.

Signed-off-by: Dmitry Kunilov &lt;dmitry.kunilov@gmail.com&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: pl2303: fixed handling of CS5 setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-04T18:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a313249937820f8b1996133fc285efbd6aad2c5b'/>
<id>urn:sha1:a313249937820f8b1996133fc285efbd6aad2c5b</id>
<content type='text'>
This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has a
value of 0 and the CSIZE setting has been skipped altogether by the enclosing
if. Tested on 3.11.6 and the scope shows the correct output after the fix has
been applied.

Tagged to be added to stable, because it fixes a user visible driver bug and is
simple enough to backport easily.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&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: ftdi_sio: fixed handling of unsupported CSIZE setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-05T17:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8704211f65a2106ba01b6ac9727cdaf9ca11594c'/>
<id>urn:sha1:8704211f65a2106ba01b6ac9727cdaf9ca11594c</id>
<content type='text'>
FTDI UARTs support only 7 or 8 data bits. Until now the ftdi_sio driver would
only report this limitation for CS6 to dmesg and fail to reflect this fact to
tcgetattr.

This patch reverts the unsupported CSIZE setting and reports the fact with less
severance to dmesg for both CS5 and CS6.

To test the patch it's sufficient to call

    stty -F /dev/ttyUSB0 cs5

which will succeed without the patch and report an error with the patch
applied.

As an additional fix this patch ensures that the control request will always
include a data bit size.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&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: mos7840: correct handling of CS5 setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-08T21:52:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=78692cc3382e0603a47e1f2aaeffe0d99891994d'/>
<id>urn:sha1:78692cc3382e0603a47e1f2aaeffe0d99891994d</id>
<content type='text'>
This patch removes an erroneous check of CSIZE, which made it impossible to set
CS5.

Compiles clean, but couldn't test against hardware.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&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: spcp8x5: correct handling of CS5 setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-08T21:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=711fbdfbf2bc4827214a650afe3f64767a1aba16'/>
<id>urn:sha1:711fbdfbf2bc4827214a650afe3f64767a1aba16</id>
<content type='text'>
This patch removes an erroneous check of CSIZE, which made it impossible to set
CS5.

Compiles clean, but couldn't test against hardware.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&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: option: support new huawei devices</title>
<updated>2013-12-02T21:51:02Z</updated>
<author>
<name>Fangxiaozhi (Franko)</name>
<email>fangxiaozhi@huawei.com</email>
</author>
<published>2013-12-02T09:00:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2bf308d7bc5e8cdd69672199f59532f35339133c'/>
<id>urn:sha1:2bf308d7bc5e8cdd69672199f59532f35339133c</id>
<content type='text'>
Add new supporting declarations to option.c, to support Huawei new
devices with new bInterfaceProtocol value.

Signed-off-by: fangxiaozhi &lt;huananhu@huawei.com&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: serial: option: blacklist interface 1 for Huawei E173s-6</title>
<updated>2013-12-02T21:50:54Z</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2013-11-11T12:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8f173e22abf2258ddfa73f46eadbb6a6c29f1631'/>
<id>urn:sha1:8f173e22abf2258ddfa73f46eadbb6a6c29f1631</id>
<content type='text'>
Interface 1 on this device isn't for option to bind to otherwise an oops
on usb_wwan with log flooding will happen when accessing the port:

tty_release: ttyUSB1: read/write wait queue active!

It doesn't seem to respond to QMI if it's added to qmi_wwan so don't add
it there - it's likely used by the card reader.

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&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: serial: fix write memory-allocation flag</title>
<updated>2013-11-25T16:39:40Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-11-09T11:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=043e3f834530e15e89c58c1b7af59cc646700134'/>
<id>urn:sha1:043e3f834530e15e89c58c1b7af59cc646700134</id>
<content type='text'>
Fix regression introduced by commit 818f60365a29 ("USB: serial: add
memory flags to usb_serial_generic_write_start"), which incorrectly used
GFP_KERNEL in write(), which must not not sleep.

Reported-by: Dave Jones &lt;davej@fedoraproject.org&gt;
Tested-by: Dave Jones &lt;davej@fedoraproject.org&gt;
Cc: Dave Jones &lt;davej@fedoraproject.org&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: fix race in generic write</title>
<updated>2013-11-25T16:39:40Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-11-09T11:38:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6f6485463aada1ec6a0f3db6a03eb8e393d6bb55'/>
<id>urn:sha1:6f6485463aada1ec6a0f3db6a03eb8e393d6bb55</id>
<content type='text'>
Fix race in generic write implementation, which could lead to
temporarily degraded throughput.

The current generic write implementation introduced by commit
27c7acf22047 ("USB: serial: reimplement generic fifo-based writes") has
always had this bug, although it's fairly hard to trigger and the
consequences are not likely to be noticed.

Specifically, a write() on one CPU while the completion handler is
running on another could result in only one of the two write urbs being
utilised to empty the remainder of the write fifo (unless there is a
second write() that doesn't race during that time).

Cc: stable &lt;stable@vger.kernel.org&gt; # 2.6.35
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tree-wide: use reinit_completion instead of INIT_COMPLETION</title>
<updated>2013-11-15T00:32:21Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2013-11-14T22:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=16735d022f72b20ddbb2274b8e109f69575e9b2b'/>
<id>urn:sha1:16735d022f72b20ddbb2274b8e109f69575e9b2b</id>
<content type='text'>
Use this new function to make code more comprehensible, since we are
reinitialzing the completion, not initializing.

[akpm@linux-foundation.org: linux-next resyncs]
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt; (personally at LCE13)
Cc: Ingo Molnar &lt;mingo@kernel.org&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>
</feed>
