<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/serial/visor.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-06-26T16:46:48Z</updated>
<entry>
<title>USB: Add Samsung SGH-I500/Android modem ID switch to visor driver</title>
<updated>2011-06-26T16:46:48Z</updated>
<author>
<name>Maciej Szmigiero</name>
</author>
<published>2011-02-07T11:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=979a538d698d5883461a09b6405f109bc7df581b'/>
<id>urn:sha1:979a538d698d5883461a09b6405f109bc7df581b</id>
<content type='text'>
commit acb52cb1613e1d3c8a8c650717cc51965c60d7d4 upstream.

[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;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>USB: visor: fix memory leak</title>
<updated>2010-07-05T18:22:03Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2010-05-15T15:53:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b467ed469b5ab9aef253222cff748a303c34320'/>
<id>urn:sha1:6b467ed469b5ab9aef253222cff748a303c34320</id>
<content type='text'>
commit 199b113978015309dd02c69844c19a1be3f4dbcf upstream.

Fix memory leak for some devices (Sony Clie 3.5) due to port private
data not being freed on release.

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>
</author>
<published>2010-02-18T16:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
<entry>
<title>USB: serial: Remove unnecessary \n's from dbg uses</title>
<updated>2010-03-02T22:54:58Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2010-02-06T00:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=759f3634267a67ac90f3fa7fc06510dfd43b4e45'/>
<id>urn:sha1:759f3634267a67ac90f3fa7fc06510dfd43b4e45</id>
<content type='text'>
#define dbg adds the newline, messages shouldn't.
Converted dbg("%s", "some string") to dbg("some string")

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: visor: fix DMA buffers on stack</title>
<updated>2010-03-02T22:53:57Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2009-12-28T22:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=401711cb575bbbdb100bc1a14cb2024dfc9b4869'/>
<id>urn:sha1:401711cb575bbbdb100bc1a14cb2024dfc9b4869</id>
<content type='text'>
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: serial: fix race between unthrottle and completion handler in visor</title>
<updated>2009-10-09T20:52:09Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2009-10-07T09:01:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1c33952b729eba4cedb8dbe54765921f2b3062f'/>
<id>urn:sha1:a1c33952b729eba4cedb8dbe54765921f2b3062f</id>
<content type='text'>
usb:usbserial:visor: fix race between unthrottle and completion handler

visor_unthrottle() mustn't resubmit the URB unconditionally
as the URB may still be running.

the same bug as opticon.

Signed-off-by: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: serial: fix assumption that throttle/unthrottle cannot sleep</title>
<updated>2009-10-09T20:52:09Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2009-10-07T08:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=638325154572ba2113a18669fe3b299caa2dabd9'/>
<id>urn:sha1:638325154572ba2113a18669fe3b299caa2dabd9</id>
<content type='text'>
many serial subdrivers are clearly written as if throttle/unthrottle
cannot sleep. This leads to unneeded atomic submissions. This
patch converts affected drivers in a way to makes very clear that
throttle/unthrottle can sleep. Thus future misdesigns can be avoided
and efficiency and reliability improved.

This removes any such assumption using GFP_KERNEL and spin_lock_irq()

Signed-off-by: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: visor: fix trivial accounting bug in visor driver</title>
<updated>2009-10-09T20:52:08Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2009-10-01T12:54:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c9fde9b860ccb27a7b026844eb3ef64c77e5a49'/>
<id>urn:sha1:4c9fde9b860ccb27a7b026844eb3ef64c77e5a49</id>
<content type='text'>
usb:usbserial:visor: fix accounting in error case

data not pushed to the tty layer due to an error mustn't be counted

Signed-off-by: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>tty: USB does not need the filp argument in the drivers</title>
<updated>2009-09-19T20:13:26Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-09-19T20:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a509a7e478e4766114d69f12d19d644ac63e9765'/>
<id>urn:sha1:a509a7e478e4766114d69f12d19d644ac63e9765</id>
<content type='text'>
And indeed none of them use it. Clean this up as it will make moving to a
standard open method rather easier.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: usb-serial: replace shutdown with disconnect, release</title>
<updated>2009-06-16T04:44:47Z</updated>
<author>
<name>Alan Stern</name>
</author>
<published>2009-06-02T15:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9c99bb8b3a1ec81af68d484a551307326c2e933'/>
<id>urn:sha1:f9c99bb8b3a1ec81af68d484a551307326c2e933</id>
<content type='text'>
This patch (as1254) splits up the shutdown method of usb_serial_driver
into a disconnect and a release method.

The problem is that the usb-serial core was calling shutdown during
disconnect handling, but drivers didn't expect it to be called until
after all the open file references had been closed.  The result was an
oops when the close method tried to use memory that had been
deallocated by shutdown.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


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