Matthew Dharm wrote:
On Sat, Feb 02, 2008 at 12:22:14AM +0100, Robert Spitzenpfeil wrote:
Alan Stern wrote:
On Fri, 1 Feb 2008, Robert Spitzenpfeil wrote:
Alan Stern wrote:
So Robert, this suggests an experiment for you to try. First remove
the US_FL_FIX_INQUIRY flag
Hi Guys,
I have checked this patch on a board that inverts the signal via a
transistor:
I.E the UcDragon YL9200
The patch appears to be functioning correctly.
The reason they did this was to allow greater driving potential via a
transistor, rather than stressing the Atmel chip directly
On Sat, Feb 02, 2008 at 12:22:14AM +0100, Robert Spitzenpfeil wrote:
> Alan Stern wrote:
> >On Fri, 1 Feb 2008, Robert Spitzenpfeil wrote:
> >
> >>Alan Stern wrote:
> >>>So Robert, this suggests an experiment for you to try. First remove
> >>>the US_FL_FIX_INQUIRY flag in your unusual_devs entry,
On Thu, 31 Jan 2008 21:37:13 +0200
Boaz Harrosh <[EMAIL PROTECTED]> wrote:
>
> Mark - This is for you on top of vanila v2.6.24 kernel from Linus.
Sorry I didn't get back to you sooner. This fixes the issue I was
having.
> ---
>
> scsi_scan is issuing a 36-byte INQUIRY request to llds. isd20
Fixes a number of coding style issues in the remaining .c files in
drivers/usb/core/
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/buffer.c | 11 +
drivers/usb/core/config.c | 14 +++-
drivers/usb/core/driver.c | 30 ++
dr
Fixes a number of coding style issues in the message.c file.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/message.c | 398 ++-
1 files changed, 204 insertions(+), 194 deletions(-)
diff --git a/drivers/usb/core/message.c b/dri
Fixes a number of coding style issues in the devio.c file.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/devio.c | 333 ++
1 files changed, 188 insertions(+), 145 deletions(-)
diff --git a/drivers/usb/core/devio.c b/driver
Fixes a number of coding style issues in the hcd-pci.c file.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/hcd-pci.c | 129 +++-
1 files changed, 67 insertions(+), 62 deletions(-)
diff --git a/drivers/usb/core/hcd-pci.c b/driv
Fixes a number of coding style issues in the devices.c file.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/devices.c | 154 +++
1 files changed, 82 insertions(+), 72 deletions(-)
diff --git a/drivers/usb/core/devices.c b/drive
Fixes a number of coding style issues in the USB internal header files.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/hcd.h | 90 +++---
drivers/usb/core/hub.h | 18
drivers/usb/core/otg_whitelist.h |
Fixes a number of coding style issues in the USB public header files.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
include/linux/usb/audio.h | 14 ++--
include/linux/usb/cdc.h | 16 ++--
include/linux/usb/gadget.h| 123 ++--
include/linu
No logical code changes were made, but checkpatch.pl is much happier now.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
include/linux/usb.h | 204 ---
1 files changed, 113 insertions(+), 91 deletions(-)
diff --git a/include/linux/usb.h
Over two years ago, the Linux USB developers stated that they believed
there was no way to create a USB kernel driver that was not under the
GPL. This patch moves the USB apis to enforce that decision.
There are no known closed source USB drivers in the wild, so this patch
should cause no problem
Turns out that a company is out there using the vendor id of 0x in
the wild, so use a real vendor/product id for the root hubs.
Now that the Linux Foundation has a real vendor id, we use that, and the
first product id:
0x1d6b is the vendor id of the Linux Foundation
0x0
From: Miklos Szeredi <[EMAIL PROTECTED]>
Add a .show_options super operation to usbfs.
Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/inode.c | 42 --
1 files changed, 36 inser
From: Stefan Bader <[EMAIL PROTECTED]>
The device setup did miss to initialize the num_interrupt_out field, thus
failing to successfully complete the probe function.
Signed-off-by: Stefan Bader <[EMAIL PROTECTED]>
Cc: stable <[EMAIL PROTECTED]>
Cc: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Greg
From: David Brownell <[EMAIL PROTECTED]>
While most isochronous endpoints have short polling intervals, the
EHCI driver won't necessarily handle larger ones correctly.
This patch switches to use a "u16" to represent those periods, not
a u8, since it can always work: the largest expressible perio
From: David Brownell <[EMAIL PROTECTED]>
Some of the "EHCI ports reset forever" problems may be explained by
code paths which wrongly flagged resets as complete. This removes
two such paths; the ehci_hub_status_data() path should be the only one
to have an effect, since it was already properly fl
From: Magnus Damm <[EMAIL PROTECTED]>
usb: ohci-sm501 driver V2
This patch adds sm501 ohci support. It's all very straightforward with the
exception of dma_declare_coherent_memory() and HCD_LOCAL_MEM. Together they
are used to ensure that usb data is allocated using dma_alloc_coherent(),
and that
From: Denis Cheng <[EMAIL PROTECTED]>
commit 04d06ad0f1fdb499af84ae3d7969e2136a462f38 have added menuconfig support
for the whole USB Kconfig, but there are still menuconfig need for usb/serial,
usb/atm, and usb/gadget, so that the user can disable all the options in that
menu at once instead of h
From: Magnus Damm <[EMAIL PROTECTED]>
usb: dma bounce buffer support V4
This patch adds dma bounce buffer support to the usb core. These buffers
can be enabled with the HCD_LOCAL_MEM flag, and they make sure that all data
passed to the host controller is allocated using dma_alloc_coherent().
Sig
From: Oliver Neukum <[EMAIL PROTECTED]>
these drivers abused intfdata in close() as flags for binding.
That races with reprobing of those devices. This patch fixes that by using
the flag and the locks introduced with the patch against mos7720.
Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
Sign
From: Oliver Neukum <[EMAIL PROTECTED]>
If disconnect() is called for a logical disconnect, no more IO must be
done after disconnect() returns, or the old and new drivers may conflict.
This patch avoids this by using the flag and lock introduced by the earlier
patch for the mos7720 driver.
Signed
From: Alan Cox <[EMAIL PROTECTED]>
- Rename the copied buffer functions from pl2303 to oti6858 to avodi
confusion
- Initialise speeds properly
- Use modern baud rate handling
- Remove GSERIAL/SSERIAL ioctl hacks that reference termios unlocked
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Signed-
From: Oliver Neukum <[EMAIL PROTECTED]>
this covers the rest of the obvious cases by using the flags
and locks to guard against disconnect which were introduced
in the earlier patch against mos7720.
Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECT
From: Oliver Neukum <[EMAIL PROTECTED]>
If disconnect() is called for a logical disconnect, no more IO must be
done after disconnect() returns, or the old and new drivers may conflict.
This patch avoids this by using the flag and lock introduced by the earlier
patch for the mos7720 driver.
Signed
From: Oliver Neukum <[EMAIL PROTECTED]>
in an error case memory already allocated must be freed again.
Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/ark3116.c |4 +++-
1 files changed, 3 insertions(+), 1 deletion
From: Jan Engelhardt <[EMAIL PROTECTED]>
Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/iowarrior.c |2 +-
drivers/usb/mon/mon_bin.c|2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drive
From: Oliver Neukum <[EMAIL PROTECTED]>
this driver uses usb_get_intfdata() == NULL as a test for disconnect().
You must not do that as this races with probe(). By the time you test
your erstwhile interface may already be somebody else's interface.
This fixes the close() method of cypress_m8 to us
From: Yoshihiro Shimoda <[EMAIL PROTECTED]>
add support for SuperH OHCI.
supported CPU are:
- SH7720
- SH7721
- SH7763
Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]>
Acked-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/Kconf
From: Oliver Neukum <[EMAIL PROTECTED]>
This fixes a problem where the mos7720 driver will make io to a device from
which it has been logically disconnected. It does so by introducing a flag by
which the generic usb serial code can signal the subdrivers their
disconnection and appropriate locking.
From: Paul Chavent <[EMAIL PROTECTED]>
When building an external module, the ezusb_* functions are not defined
if we haven't loaded any built'in module that use them (whiteheat,
keyspan, ...).
This patch allow to build those functions even if we only have selected
the usbserial generic driver.
S
People keep trying to add entries to this section of the driver for
things. That's what the Changelog is supposed to be for, not the .c
file.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/ftdi_sio.c | 222 +
1 files changed
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1031) adds a short delay to the bus-suspend routine in
ehci-hcd. Without it some devices disconnect when they should
suspend.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Acked-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Ha
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1030b) moves a del_timer_sync() call outside the scope of a
spinlock, where it could cause a deadlock, and adds a new
del_timer_sync() call for the new IAA watchdog timer (it was omitted
by mistake).
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
From: Pete Zaitcev <[EMAIL PROTECTED]>
The ISO descriptors are allocated separately in proc_submiturb for a fetch
from user mode, then tucked at the end of URB. This seems like a dead code.
Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
From: David Brownell <[EMAIL PROTECTED]>
Small updates to the EHCI driver's ISO support:
- Get rid of the Kconfig option for full speed ISO. It may
not be perfect yet, but it hasn't appeared to be dangerous
and pretty much every configuration wants it.
- Instead of two places to disable
From: David Brownell <[EMAIL PROTECTED]>
This has some bugfixes for the EHCI driver's ISO transfer scanning
logic. It was leaving ITDs and SITDs on the schedule too long, for
a few different reasons, which caused trouble.
(a) Look at all microframes for high speed transfers, not just
From: Karsten Wiese <[EMAIL PROTECTED]>
In the EHCI driver, itd->usecs[8] is used in periodic_usecs(), indexed by
uframe. For an ITD's unused uframes it is 0, else it contains the same
value as itd->stream->usecs. To check if an ITD's uframe is used, we can
instead test itd->hw_transaction[ufram
From: Vladimir Barinov <[EMAIL PROTECTED]>
EHCI Glue driver for Intel IXP4XX EHCI USB controller
Signed-off-by: Vladimir Barinov <[EMAIL PROTECTED]>
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/Kconfig|1 +
From: Daniel Walker <[EMAIL PROTECTED]>
The dev->sem conforms to mutex style usage. This patch converts it to use
the struct mutex type, and new API.
There is also a small style fix around this comment,
/* unlock here as tower_delete frees dev */
Where I broke the line up to meet the 80 char li
From: Valentine Barshak <[EMAIL PROTECTED]>
This adds device-tree-aware ehci-ppc-of driver.
The code is based on the ehci-ppc-soc driver by
Stefan Roese <[EMAIL PROTECTED]>.
Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
Acked-by: Arnd Bergmann <[EMAIL PROTECTED]>
Acked-by: Stefan Roese <[E
From: Dmitry Baryshkov <[EMAIL PROTECTED]>
Use debugfs instead of /proc/driver/udc
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]>
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/gadget/pxa2xx_udc.c | 117 ++
From: David Brownell <[EMAIL PROTECTED]>
Various small at91_udc cleanups:
- Use generic GPIO calls, not older platform-specific ones
- Use gpio_request()/gpio_free()
- Use VERBOSE_DEBUG convention, not older VERBOSE
- Fix sparse complaint about parameter type (changed to gfp_t)
- Add missing
From: Sarah Sharp <[EMAIL PROTECTED]>
This documents two newly created files:
/sys/bus/usb/device/.../power/connected_duration
/sys/bus/usb/device/.../power/active_duration
Documentation was placed in Documentation/ABI/testing, since that's where the
documentation is for the other USB sysfs power
From: David Brownell <[EMAIL PROTECTED]>
Update the ohci-at91 bus glue to start understanding about the per-port
power switch GPIOs it's given (on the sam9263-ek and potentially other
boards). For the moment this just claims them and forces them active
(assuming active-low power enables) whenever
From: Kevin Lloyd <[EMAIL PROTECTED]>
The following improvements were made:
- Fixed control line issue where asserting DTR on ep5 would close ep2
- Added support for calc_num_ports (will help support future composite
devices)
Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]>
Signed-off-by: Greg
From: Sarah Sharp <[EMAIL PROTECTED]>
This patch exports two statistics to userspace:
/sys/bus/usb/device/.../power/connected_duration
/sys/bus/usb/device/.../power/active_duration
connected_duration is the total time (in msec) that the device has
been connected. active_duration is the total tim
From: Alan Cox <[EMAIL PROTECTED]>
Don't pass NULL into termios functions when calling them internally
Remove all the crap which then checks for NULL which can't occur now
Clear CMSPAR as it is not supported
Report the baud rate back to the caller properly (See FIXME someone with
the docs)
Signed
From: Harald Welte <[EMAIL PROTECTED]>
[PATCH] ftdi_sio: add support for more FTDI based JTAG adaptors
There are more devices similar to the Olimex JTAG adaptor, in that the first
port of the FT2232C is used for JTAG, and only the second port is available as
UART.
I have thus renamed ftdi_olimex
From: Alan Cox <[EMAIL PROTECTED]>
Remove internal NULL passing in termios code
Remove all the if checks it causes
Encode the baud rate back properly
Clear CMSPAR as it is not supported
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/
From: Alan Cox <[EMAIL PROTECTED]>
Remove lots of NULL checks that can no longer occur
Encode the baud rate back into the termios (again someone with docs see
FIXME to improve this further)
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
driv
From: Dmitry Baryshkov <[EMAIL PROTECTED]>
Use gpio_vbus instead of udc_is_connected for udc on tosa.
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]>
Acked-by: Russell King <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
arch/arm/mach-pxa/tosa.c |9 ++---
From: David Brownell <[EMAIL PROTECTED]>
Add a missing dependency which goofs up the xconfig display.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/host/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
d
From: David Brownell <[EMAIL PROTECTED]>
Fix a small glitch noted by Yannick Cote. There is no endpoint number
six, so if a (broken) host wrongly tried to change or read status of
that endpoint, the driver could access reserved register space.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Cc
From: David Brownell <[EMAIL PROTECTED]>
Fix potential (never-observed) oops on rare error path,
bugzilla #9594. Fix uses the same test as used earlier.
Also make the adjacent "else" block look like an "else" block
instead of hiding like a bug.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
From: Oliver Neukum <[EMAIL PROTECTED]>
Am Sonntag, 16. Dezember 2007 05:23:47 schrieb Andrew Morton:
> On Sat, 15 Dec 2007 07:08:52 -0800 (PST) [EMAIL PROTECTED] wrote:
>
> > http://bugzilla.kernel.org/show_bug.cgi?id=9573
> > There's a null pointer dereference on drivers/usb/serial/whiteheat.c
From: Tzachi Perelstein <[EMAIL PROTECTED]>
Some glue bits for the on-chip USB host controller in the Marvell Orion
family of ARM SoCs, which is basically EHCI compatible.
Signed-off-by: Tzachi Perelstein <[EMAIL PROTECTED]>
Reviewed-by: Lennert Buytenhek <[EMAIL PROTECTED]>
Signed-off-by: David
From: David Brownell <[EMAIL PROTECTED]>
Kernel bugzilla entry #9569 reports a potential OOPS in some code
supporting the integrated root hub TT support used on ARC/TDI
derived cores. (This seems to have been a longstanding issue.)
This patch cleans up usage of urb->dev->tt to avoid that potenti
From: Marcin Slusarz <[EMAIL PROTECTED]>
fix warning:
drivers/usb/host/ehci-hcd.c:832:8: warning: symbol 'status' shadows an earlier
one
drivers/usb/host/ehci-hcd.c:790:71: originally declared here
Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTEC
From: Marcin Slusarz <[EMAIL PROTECTED]>
fix warnings:
drivers/usb/storage/initializers.c:83:26: warning: incorrect type in argument 5
(different signedness)
drivers/usb/storage/initializers.c:83:26:expected unsigned int *act_len
drivers/usb/storage/initializers.c:83:26:got int *
drivers/
From: Marcin Slusarz <[EMAIL PROTECTED]>
fix warning:
drivers/usb/core/devio.c:1226:20: warning: incorrect type in assignment
(different address spaces)
drivers/usb/core/devio.c:1226:20:expected void *usercontext
drivers/usb/core/devio.c:1226:20:got void [noderef] *
Signed-off-by: Marcin
From: Joe Perches <[EMAIL PROTECTED]>
Signed-off-by: Joe Perches <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/atm/ueagle-atm.c|2 +-
drivers/usb/class/cdc-acm.c |2 +-
drivers/usb/gadget/at91_udc.h |2 +-
drivers/usb/g
From: David Brownell <[EMAIL PROTECTED]>
This adds a workaround for an issue reported with ISO transfers
on some EHCI controllers, most recently with VIA KT800 and PS3
EHCI silicon.
The issue is that the silicon doesn't necessarily seem to be done
using ISO DMA descriptors (itd, sitd) when it mar
From: Dmitry Baryshkov <[EMAIL PROTECTED]>
Some boards (like e.g. Tosa) invert the VBUS-detection signal:
it's low when a host is supplying VBUS, and high otherwise.
Allow specifying whether gpio_vbus value is inverted.
Signed-off-by: Dmitry Baryshkov <[EMAIL PROTECTED]>
Signed-off-by: David Brow
From: Matthias Kaehlcke <[EMAIL PROTECTED]>
USB testing driver: convert semaphore dev->sem to the mutex API
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/usbtest.c |
From: Andrew Morton <[EMAIL PROTECTED]>
Dopey thing to do and lockdep will (or should) warn.
Spotted by Daniel Walker.
Cc: Matthias Kaehlcke <[EMAIL PROTECTED]>
Cc: Daniel Walker <[EMAIL PROTECTED]>
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-b
From: Nick Piggin <[EMAIL PROTECTED]>
Convert USB mon driver from nopage to fault.
Signed-off-by: Nick Piggin <[EMAIL PROTECTED]>
Acked-by: Pete Zaitcev <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/mon/
From: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/keyspan_pda.c | 38 +++---
1 files changed, 19 insertions(
From: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Cc: Pete Zaitcev <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/mct_u232.c | 26 +-
drivers/u
From: Alan Cox <[EMAIL PROTECTED]>
A tester with actual hardware would be useful
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/belkin_sa.c | 37 --
From: Sarah Sharp <[EMAIL PROTECTED]>
Signed-off-by: Sarah Sharp <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/pl2303.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl
From: Sarah Sharp <[EMAIL PROTECTED]>
Without this fix, the pl2303 usb-serial adapter would not suspend properly
unless it had been opened first. A pl2303 type_1 chip will still break if the
system is hibernated while the RS-232 connector is powered by another system.
This was broken before, and
From: Sarah Sharp <[EMAIL PROTECTED]>
Replace the FISH and SOUP macros that violated the macro guidelines in
CodingStyle.
Turn them into function calls with clearer variable names.
Signed-off-by: Sarah Sharp <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/u
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1025) changes the default power budget for dummy-hcd to
500 mA and makes it a preprocessor parameter for easier testing.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/gadget/d
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1028) was mostly written by David Brownell; I made only
a few changes (extra log info and a small bug fix -- which might
account for why David's version had to be reverted). It adds a new
watchdog timer to the ehci-hcd driver to be used exclusive
From: Matthias Kaehlcke <[EMAIL PROTECTED]>
Edgeport USB Serial Converter: convert semaphore es_sem to the
mutex API
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/io_ti.c | 21 +++--
1 files cha
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1022b) adds stub methods for suspend and resume to the
usbfs driver. There isn't much they can do since there's no way to
inform a user task about the events. But it's important to have the
stubs, because an upcoming change to usbcore will autom
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1023) updates the code in usb_reset_composite_device():
Some local variable declarations are moved to inner loops.
The interface locks are not acquired. This isn't necessary
any more; its only reason was to prevent an in
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
The OHCI driver's IRQ handler, while processing a WDH interrupt, masks
and unmasks it. I believe this is both broken (the write may still be
posted during the donelist processing it's trying to safeguard) and
useless as this IRQ may not be reissued
From: Alan Stern <[EMAIL PROTECTED]>
For as long as I've known about it, the USBDEVFS_CONNECT ioctl hasn't
done what it's supposed to. The current code reprobes _all_ the
unbound USB interfaces; this patch (as1021) makes it reprobe only the
interface for which it was called.
Signed-off-by: Alan
From: Tony Jones <[EMAIL PROTECTED]>
We should not have multiple line files in sysfs, this moves the data to
debugfs instead, like the UHCI driver.
Signed-off-by: Tony Jones <[EMAIL PROTECTED]>
Cc: Kay Sievers <[EMAIL PROTECTED]>
Cc: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Ha
From: Tony Jones <[EMAIL PROTECTED]>
We should not have multiple line files in sysfs, this moves the data to
debugfs instead, like the UHCI driver.
Signed-off-by: Tony Jones <[EMAIL PROTECTED]>
Cc: Kay Sievers <[EMAIL PROTECTED]>
Cc: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Ha
Distros (like SuSE) want to know this information, to make it easier
to handle support issues. Might as well let everyone benefit from this.
This is also enabled whenever CONFIG_USB_DEBUG is enabled, to help with
debugging.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/co
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1017) makes dummy_hcd behave more like the other USB
peripheral controller drivers by no longer registering its
gadget driver on the platform bus. Doing that has always been a
mistake, since a usb_gadget_driver isn't a platform_driver. Instead
t
From: Balaji Rao <[EMAIL PROTECTED]>
This patch hands over the port to the companion when the
hub_port_connect_change fails.
Signed-off-by: Balaji Rao <[EMAIL PROTECTED]>
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/hcd.
From: Patrik Sevallius <[EMAIL PROTECTED]>
I'm having problem with oopses when rebooting, if I modprobe g_serial
and rmmod g_serial and do a reboot I get an oops in device_shutdown().
The reason seems to be that usb_gadget_unregister_driver() doesn't do
enough cleanup. With this at91_udc patch I
From: Sarah Sharp <[EMAIL PROTECTED]>
Claim the interface for a USB to serial converter when the tty is open,
and release the interface when the tty is closed.
If a driver doesn't provide a resume function, use the generic resume
instead.
Make sure the generic resume function does not submit the
From: Andre Haupt <[EMAIL PROTECTED]>
This also fixes a sparse warning that symbol 'result' shadows an earlier one.
Signed-off-by: Andre Haupt <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/cyberjack.c |1 -
1 files changed, 0 insertions(+),
From: David Brownell <[EMAIL PROTECTED]>
We now have pr_err(), pr_warning(), and friends ... start using
them in the gadget stack instead of printk(KERN_ERR) and friends.
This gives us shorter lines and somewhat increased readability.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-b
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1012b) makes the ksuspend_usbd kernel thread
non-freezable. Since the PM core has been changed to lock all devices
during a system sleep, the thread no longer needs to be frozen. It
won't interfere with a system sleep because before trying to re
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1016) prevents PCI-based host controllers from
undergoing a power-state change during a FREEZE or a PRETHAW. Such
changes are needed only during a SUSPEND.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
CC: David Brownell <[EMAIL PROTECTED]>
Sign
From: Robert P. J. Day <[EMAIL PROTECTED]>
Given that none of the referenced header files test the proprocessor
conditional __KERNEL__, there's no point "unifdef"fing them.
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
include/linux
From: Julia Lawall <[EMAIL PROTECTED]>
Continue is not needed at the bottom of a loop.
The semantic patch implementing this change is as follows:
@@
@@
for (...;...;...) {
...
if (...) {
...
- continue;
}
}
Signed-off-by: Julia Lawall <[EMAIL PROTECTED]>
Signed-off-by: Greg Kro
From: Aristeu Rozanski <[EMAIL PROTECTED]>
When a usb serial adapter is used as console, the usb serial console
driver bumps the open_count on the port struct used but doesn't attach
a real tty to it (only a fake one temporaly). If this port is opened later
using the regular character device inter
From: Aristeu Rozanski <[EMAIL PROTECTED]>
The usb serial method set_termios() is called for the first time from
open() method in order to set up the termios structure with the default
device's settings, ignoring the current settings. Once it's initialized,
the next set_termios() calls will update
From: Aristeu Rozanski <[EMAIL PROTECTED]>
Currently usb serial console support ignores the device and always use
ttyUSB0.
Signed-off-by: Aristeu Rozanski <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/console.c |9 ++---
1 files changed,
From: Oliver Bock <[EMAIL PROTECTED]>
here's a minor update to the cypress_cy7c63 driver
providing new contact and usage information.
From: Oliver Bock <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/cypress_cy7c63.c |7 +--
1 files changed
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as1011) adds a #define for the newly-created Lockable
(i.e., password-protected) subclass 0x07 for USB mass-storage devices.
The private ISD200 entry (which had been mapped to subclass 0x07) is
moved to 0xf0, which is unlikely to conflict with any o
From: Joe Perches <[EMAIL PROTECTED]>
Signed-off-by: Joe Perches <[EMAIL PROTECTED]>
Acked-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/atm/ueagle-atm.c|4 ++--
drivers/usb/gadget/amd5536udc.c |2 +-
drivers/usb/gadget/m6
1 - 100 of 165 matches
Mail list logo