12 May, 2011
1 commit
-
The Droids MuIn LCD operates like a serial remote terminal.
Data received are displayed directly on the LCD. This patch
fixes the kernel null pointer oops when it is plugged in.Add NO_DATA_INTERFACE quirk to tell the driver that "control"
and "data" interfaces are not separated for this device, which
prevents dereferencing a null pointer in the device probe code.Signed-off-by: Erik Slagter
Signed-off-by: Maxin B. John
Tested-by: Erik Slagter
Cc: stable
Signed-off-by: Greg Kroah-Hartman
14 Apr, 2011
2 commits
-
Kill rx tasklet, which is no longer needed, and re-write read processing.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
The drain-delay code is no longer used, so remove it.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
21 May, 2010
1 commit
-
Fix usb/class sparse warnings:
drivers/usb/class/cdc-acm.h:128:34: error: dubious one-bit signed bitfield
drivers/usb/class/cdc-acm.h:129:24: error: dubious one-bit signed bitfieldSigned-off-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman
03 Mar, 2010
2 commits
-
The pbLua console port is known to not be a modem, so it is
unnecessary to be told this when it is plugged in.Add NOT_A_MODEM quirk to tell the driver that we know this already
and hence not to warn us, and mark the pbLua console port.Signed-off-by: Julian Calaby
Cc: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
Update cdc-acm to the async methods eliminating the workqueue
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
08 Aug, 2009
1 commit
-
This patch fixes an oops caused when during an unplug a device's table
of endpoints is zeroed before the driver is notified. A pointer to
the endpoint must be cached.this fixes a regression caused by commit
5186ffee2320942c3dc9745f7930e0eb15329ca6
Therefore it should go into 2.6.31Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
16 Jun, 2009
1 commit
-
This implement support in cdc-acm for acm devices another popular OS can handle
- adds support for autodetection of devices that use one interface
- autodetection of endpoints
- add a quirk for surpressing a setting that OS doesn't use
- autoassume that quirk for single interface devicesSigned-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
11 Jun, 2009
2 commits
-
Now we have a port structure begin using the fields and kref counts
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The CDC ACM driver uses the tty layer correctly so needs conversion. Start by
adding and initializing the port structures.Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds
14 Aug, 2008
2 commits
-
Add a mechanism to let the write queue drain naturally before
closing the TTY, rather than always losing that data. There
is a timeout, so it can't wait too long.Provide missing locking inside acm_wb_is_avail(); it matters
more now. Note, this presumes an earlier patch was applied,
removing a call to this routine where the lock was held.Slightly improved diagnostics on write URB completion, so we
can tell when a write URB gets killed and, if so, how much
data it wrote first ... and so that I/O path is normally
silent (and can't much change timings).Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
The "increase cdc-acm write throughput" patch left in place two
now-obsolete mechanisms, either of which can make the cdc-acm
driver drop TX data (nasty!). This patch removes them:- The write_ready flag ... if an URB and buffer were found,
they can (and should!) always be used.- TX path acm_wb_is_used() ... used when the buffer was just
allocated, so that check is pointless.Also fix a won't-yet-matter leak of a write buffer on a disconnect path.
Signed-off-by: David Brownell
Cc: David Engraf
Acked-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
22 Jul, 2008
1 commit
-
this patch saves power for cdc-acm devices that support remote wakeup
while the device is connected.- request needs_remote_wakeup when needed
- delayed write while a device is autoresumed
- the device is marked busy when appropriateSigned-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
25 Apr, 2008
1 commit
-
the following patch uses 16 write urbs and a writsize of wMaxPacketSize
* 20. With this patch I get the maximum througput from my linux system
with 20MB/sec read and 15 MB/sec write (full speed 1 MB/sec both)I also deleted the flag URB_NO_FSBR for the writeurbs, because this
makes my full speed devices significant slower.Signed-off-by: David Engraf
Signed-off-by: Greg Kroah-Hartman
02 Feb, 2008
1 commit
-
Here we go. This patch implements suspend/resume and autosuspend
for the CDC ACM driver.Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
28 Apr, 2007
1 commit
-
this patch exports the attributes cdc-acm knows about a device through sysfs.
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
22 Jun, 2006
1 commit
-
this fixes the "duplicated text" bug. There's a modem that cannot cope
with large transfers and more than one urb in flight. This patch adds a
special case to the driver.Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
05 Jan, 2006
1 commit
-
this patch by David converts the sending queue of the CDC ACM driver
to a queue of URBs. This is needed for quicker devices. Please apply.Signed-Off-By: Oliver Neukum
Signed-off-by: Greg Kroah-Hartmandrivers/usb/class/cdc-acm.c | 229 ++++++++++++++++++++++++++++++--------------
drivers/usb/class/cdc-acm.h | 33 +++++-
2 files changed, 185 insertions(+), 77 deletions(-)
28 Jun, 2005
1 commit
-
This patch fixes lost LF when ACM device is used with getty/login/bash,
in case of a modem which takes calls.Signed-off-by: Pete Zaitcev
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!