<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/serial/visor.c, branch v3.4.80</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/usb/serial/visor.c?h=v3.4.80</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/usb/serial/visor.c?h=v3.4.80'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-06-13T16:44:56Z</updated>
<entry>
<title>USB: serial: fix Treo/Kyocera interrrupt-in urb context</title>
<updated>2013-06-13T16:44:56Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-05-27T12:44:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=23269c0adf51bd719249016080d896f888d57c92'/>
<id>urn:sha1:23269c0adf51bd719249016080d896f888d57c92</id>
<content type='text'>
commit 5f8e2c07d75967ee49a5da1d21ddf5f50d48cda0 upstream.

The first and second interrupt-in urbs are swapped for some Treo/Kyocera
devices, but the urb context was never updated with the new port.

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: visor: fix initialisation of Treo/Kyocera devices</title>
<updated>2013-06-13T16:44:54Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-05-27T12:44:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0279e6708d667ed8557dbb47e3600ce8ff2b35c5'/>
<id>urn:sha1:0279e6708d667ed8557dbb47e3600ce8ff2b35c5</id>
<content type='text'>
commit 420021a395ce38b7ab2cceb52dee4038be7d8fa3 upstream.

Fix regression introduced by commit 214916f2e ("USB: visor: reimplement
using generic framework") which broke initialisation of Treo/Kyocera
devices that re-mapped bulk-in endpoints.

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: use new registration API in [t-z]* drivers</title>
<updated>2012-02-24T20:39:21Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2012-02-23T19:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=29618e9fb5507b9fcf07f739a8506a3640495945'/>
<id>urn:sha1:29618e9fb5507b9fcf07f739a8506a3640495945</id>
<content type='text'>
This patch (as1529) modifies the following usb-serial drivers to
utilize the new usb_serial_{de}register_drivers() routines:

	ti_usb_3410_5052, usb_debug, visor, vivopay-serial,
	whiteheat, and zio.

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>module_param: make bool parameters really bool (drivers &amp; misc)</title>
<updated>2012-01-12T23:02:20Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2012-01-12T23:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=90ab5ee94171b3e28de6bb42ee30b527014e0be7'/>
<id>urn:sha1:90ab5ee94171b3e28de6bb42ee30b527014e0be7</id>
<content type='text'>
module_param(bool) used to counter-intuitively take an int.  In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.

It's time to remove the int/unsigned int option.  For this version
it'll simply give a warning, but it'll break next kernel version.

Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>USB: Add Samsung SGH-I500/Android modem ID switch to visor driver</title>
<updated>2011-02-17T18:30:23Z</updated>
<author>
<name>Maciej Szmigiero</name>
<email>mhej@o2.pl</email>
</author>
<published>2011-02-07T11:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=acb52cb1613e1d3c8a8c650717cc51965c60d7d4'/>
<id>urn:sha1:acb52cb1613e1d3c8a8c650717cc51965c60d7d4</id>
<content type='text'>
[USB]Add Samsung SGH-I500/Android modem ID switch to visor driver

Samsung decided to reuse USB ID of its old CDMA phone SGH-I500 for the
modem part of some of their Android phones. At least Galaxy Spica
is affected.

This modem needs ACM driver and does not work with visor driver which
binds the conflicting ID for SGH-I500.
Because SGH-I500 is pretty an old hardware its best to add switch to
visor
driver in cause somebody still wants to use that phone with Linux.

Note that this is needed only when using the Android phone as modem,
not in USB storage or ADB mode.

Signed-off-by: Maciej Szmigiero &lt;mhej@o2.pl&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: visor: fix initialisation of UX50/TH55 devices</title>
<updated>2010-10-22T17:22:08Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2010-10-11T23:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cfb8da8f69b81d367b766888e83ec0483a31bf01'/>
<id>urn:sha1:cfb8da8f69b81d367b766888e83ec0483a31bf01</id>
<content type='text'>
Fix regression introduced by commit
214916f2ec6701e1c9972f26c60b3dc37d3153c6 (USB: visor: reimplement using
generic framework) which broke initialisation of UX50/TH55 devices that
used re-mapped bulk-out endpoint addresses.

Reported-by: Robert Gadsdon &lt;rgadsdon@bayarea.net&gt;
Tested-by: Robert Gadsdon &lt;rgadsdon@bayarea.net&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: visor: increase bulk-out buffer size</title>
<updated>2010-05-20T20:21:48Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2010-05-16T13:06:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9a1f298f8bc92f21b09bd7ef396c2fc6544ce9aa'/>
<id>urn:sha1:9a1f298f8bc92f21b09bd7ef396c2fc6544ce9aa</id>
<content type='text'>
Increase the bulk-out buffer size to avoid any regression in throughput
after replacing the old writing scheme which used dynamic buffers (e.g.
up to 2k).

256b has been determined to be a good choice for several drivers
including ftdi_sio which used to have a more or less identical write
implementation.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: visor: reimplement using generic framework</title>
<updated>2010-05-20T20:21:48Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2010-05-15T15:53:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=214916f2ec6701e1c9972f26c60b3dc37d3153c6'/>
<id>urn:sha1:214916f2ec6701e1c9972f26c60b3dc37d3153c6</id>
<content type='text'>
Kill custom read and write implementations (dynamically allocated write
urbs).

Note that I chose to remove the stat module parameter which was supposed
to keep count of the amount of data sent and received, but which has
been broken for three years (since b308e74d9c708ee2a9af14fbe235e0a41216f4ed
"USB: visor driver adapted to new tty buffering" -- bytes_in was
incorrectly updated and was thus always reported as 0).

Compile-only tested.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: visor: fix memory leak</title>
<updated>2010-05-20T20:21:48Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2010-05-15T15:53:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=199b113978015309dd02c69844c19a1be3f4dbcf'/>
<id>urn:sha1:199b113978015309dd02c69844c19a1be3f4dbcf</id>
<content type='text'>
Fix memory leak for some devices (Sony Clie 3.5) due to port private
data not being freed on release.

Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: tty: Prune uses of tty_request_room in the USB layer</title>
<updated>2010-03-02T22:55:12Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2010-02-18T16:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a108bfcb372d8c4452701039308fb95747911c59'/>
<id>urn:sha1:a108bfcb372d8c4452701039308fb95747911c59</id>
<content type='text'>
We have lots of callers that do not need to do this in the first place.
Remove the calls as they both cost CPU and for big buffers can mess up the
multi-page allocation avoidance.

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


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