usb_trylock_device() returns non-zero on success.
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
25-akpm/drivers/usb/host/ohci-hub.c |3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -puN drivers/usb/host/ohci-hub.c~usb-locking-fix drivers/usb/host/ohci-hub.c
--- 25
/rwsem.h:79:1: warning: __RWSEM_INITIALIZER redefined
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
25-x86_64-akpm/drivers/usb/media/w9968cf.h |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/usb/media/w9968cf.h~w9968cf-build-fix drivers/usb/media/w9968cf.h
--- 25-x86_64
+++ devel-akpm/drivers/usb/gadget/Kconfig 2005-08-05 00:18:32.0
-0700
@@ -142,6 +142,21 @@ config USB_GOKU
select USB_GADGET_SELECTED
+config USB_GADGET_MQ11XX
+ boolean MediaQ 11xx USB Device Controller
+ depends on PLATFORM_MQ11XX
+ help
+ Enable
(+)
diff -puN
Documentation/kernel-parameters.txt~make-usb-handoff-the-default-usb-no-handoff-turns-it-off
Documentation/kernel-parameters.txt
---
devel/Documentation/kernel-parameters.txt~make-usb-handoff-the-default-usb-no-handoff-turns-it-off
2005-08-05 01:04:41.0 -0700
+++ devel-akpm
From: KAMBAROV, ZAUR [EMAIL PROTECTED]
Later in this function we check for the nullness of p.qh. So either this
additonal test is needed or the existing one is redundant.
This defect was found automatically by Coverity Prevent, a static analysis
tool.
(akpm: there's another deref of p.qh
-isp116x-hcdc
2006-06-01 20:48:09.0 -0700
+++ devel-akpm/drivers/usb/host/isp116x-hcd.c 2006-06-01 20:48:09.0
-0700
@@ -781,7 +781,7 @@ static int isp116x_urb_enqueue(struct us
if (ep-branch PERIODIC_SIZE)
break;
- ret = ep
From: Philippe Retornaz [EMAIL PROTECTED]
See http://bugzilla.kernel.org/show_bug.cgi?id=6617.
This function dereference a __user pointer.
(akpm: this code is deeply fishy. Are the types correct?)
Signed-off-by: Philippe Retornaz [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off
/bluetooth/hci_usb.c~fix-sco-on-some-bluetooth-adapters-2
2006-06-01 20:48:09.0 -0700
+++ devel-akpm/drivers/bluetooth/hci_usb.c 2006-06-01 20:48:09.0
-0700
@@ -130,6 +130,9 @@ static struct usb_device_id blacklist_id
/* CSR BlueCore Bluetooth Sniffer
-sierra-wireless-mc5720-id-to-airprimec
2006-06-01 20:48:09.0 -0700
+++ devel-akpm/drivers/usb/serial/airprime.c2006-06-01 20:48:09.0
-0700
@@ -20,6 +20,7 @@ static struct usb_device_id id_table []
{ USB_DEVICE(0xf3d, 0x0112) }, /* AirPrime CDMA Wireless PC Card
From: David Brownell [EMAIL PROTECTED]
In a rare and all-but-unused path, the EHCI driver could reuse a variable
in a way that'd make trouble. Specifically, if the first root hub port
gets an overcurrent event (rare) during a remote wakeup scenario (all but
unused in today's Linux, except for
From: Olivier Galibert [EMAIL PROTECTED]
Some bluetooth adapters return an incorrect number of sco packets in
READ_BUFFER_SIZE. Fix it.
This is the worst possible way to fix it for several reasons:
- this is not a generic fix, it has to me activated explicitely by the
driver
- this is not a
From: Adrian Bunk [EMAIL PROTECTED]
#if 0 the no longer used hid_find_field_by_usage().
Signed-off-by: Adrian Bunk [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/input/hid-core.c |3 ++-
drivers/usb/input/hid.h |1 -
From: Adrian Bunk [EMAIL PROTECTED]
Make the needlessly global vendor_command() static.
Signed-off-by: Adrian Bunk [EMAIL PROTECTED]
Cc: Oliver Bock [EMAIL PROTECTED]
Cc: Greg Kroah-Hartman [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/misc/cy7c63.c |4
From: Frank Gevaerts [EMAIL PROTECTED]
Adds configurable waiting periods to the ipaq connection code. These are
not needed when the pocketpc device is running normally when plugged in,
but they need extra delays if they are physically connected while
rebooting.
There are two parameters :
*
From: Frank Gevaerts [EMAIL PROTECTED]
This patch fixes several problems in the ipaq.c driver with connecting
and disconnecting pocketpc devices:
* The read urb stayed active if the connect failed, causing nullpointer
dereferences later on.
* If a write failed, the driver continued as if
From: Andrew Morton [EMAIL PROTECTED]
Fix CONFIG_PM=n build.
Cc: Alan Stern [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/core/hub.c |2 ++
1 file changed, 2 insertions(+)
diff -puN
From: David Brownell [EMAIL PROTECTED]
Convert some framework code to handle the new PRETHAW message.
- IDE just treats it like a FREEZE.
- The pci_choose_state() thingie still doesn't use PCI_D0 when it gets a
FREEZE (and now PRETHAW) event, which seems rather buglike but wasn't
From: David Brownell [EMAIL PROTECTED]
This adds a new pm_message_t event type to use when preparing to restore a
swsusp snapshot. Devices that have been initialized by Linux after resume
(rather than left in power-up-reset state) may need to be reset; this new
event type give drivers the chance
From: Andrew Morton [EMAIL PROTECTED]
hc_died() got renamed.
Cc: David Brownell [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Cc: Rafael J. Wysocki [EMAIL PROTECTED]
Cc: Pavel Machek [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/host/uhci-hcd.c |2 +-
1
From: David Brownell [EMAIL PROTECTED]
This teaches several USB host controller drivers to treat PRETHAW as a chip
reset since the controller, and all devices connected to it, are no longer in
states compatible with how the snapshotted suspend() left them.
Signed-off-by: David Brownell [EMAIL
From: David Brownell [EMAIL PROTECTED]
This patch is the first of this series that should actually change any
behavior ... by issuing the new event, now tha the rest of the kernel is
prepared to receive it.
This converts the PM core to issue the new PRETHAW message, which the rest of
the kernel
From: David Brownell [EMAIL PROTECTED]
Video drivers which explicitly test for messages reporting PM_EVENT_FREEZE
will now handle PM_EVENT_PRETHAW the same way.
Signed-off-by: David Brownell [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Cc: Rafael J. Wysocki [EMAIL PROTECTED]
Cc: Pavel Machek
From: Andrew Morton [EMAIL PROTECTED]
We need to wait until any currently-running handler has completed. Fixes an
unplug-time oops reported by Miles Lane [EMAIL PROTECTED].
Cc: Petko Manolov [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
From: David Brownell [EMAIL PROTECTED]
Small driver suspend() fixes in preparation for the PRETHAW events:
- Only compare message events for equality against PM_EVENT_* codes;
not against integers, or using greater/less-than comparisons.
(PM_EVENT_* should really become a __bitwise
From: Cyrill Gorcunov [EMAIL PROTECTED]
Avoid NULL pointer usage if workqueue creation failed.
Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED]
Cc: Pete Zaitcev [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/misc/ftdi-elan.c |
From: Simon Arlott [EMAIL PROTECTED]
There is currently no path from the ATM device in /sys to the USB device's
interface that the driver is using; this patch creates a device symlink. It
is then possible to get to the cxacru ADSL statistics
(http://lkml.org/lkml/2007/2/23/328):
From: Simon Arlott [EMAIL PROTECTED]
I've acquired a second device for testing and plan to make some changes in
the near future to export all the device stats to sysfs (based on my
proposed patch to add them to the proc file ~2007-01-30).
Signed-off-by: Simon Arlott [EMAIL PROTECTED]
Acked-by:
From: Simon Arlott [EMAIL PROTECTED]
When the device is polled for status there is a lot of useful status
information available that is ignored. This patch stores the device info
array when the status is polled and adds sysfs files to the usb device to
allow userspace to query it. Since the
From: Cyrill Gorcunov [EMAIL PROTECTED]
Add checking of driver registration status and release allocated resources
if it failed.
Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED]
Cc: Pete Zaitcev [EMAIL PROTECTED]
Cc: Luiz Fernando N. Capitulino [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
From: Wu, Bryan [EMAIL PROTECTED]
skb_push function may return a pointer which is not aligned as required
by struct rndis_packet_msg_type. Using attribute trick to fix this bug.
Signed-off-by: Roy Huang [EMAIL PROTECTED]
Signed-off-by: Jie Zhang [EMAIL PROTECTED]
Signed-off-by: Bryan Wu [EMAIL
From: Leon Leong [EMAIL PROTECTED]
Add the detection for the BandRich BandLuxe C100/C100S/C120 HSDPA Data
Card. With the vendor and product IDs are set properly, the data card can
be detected and works fine.
Signed-off-by: Leon Leong [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
From: S.Caglar Onur [EMAIL PROTECTED]
Remove duplicate define of OHCI_QUIRK_ZFMICRO from ftdi-elan.c, its already
defined in drivers/ush/host/ohci.c
Signed-off-by: S.Caglar Onur [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
From: Simon Arlott [EMAIL PROTECTED]
The device has commands to start/stop the ADSL function, so this adds a
sysfs attribute to allow it to be started/stopped/restarted. It also stops
polling the device for status when the ADSL function is disabled.
There are no problems with sending multiple
From: Simon Arlott [EMAIL PROTECTED]
Detect usb device shutdown and ignore failed urbs. This happens when the
driver is unloaded or the device is unplugged.
I'm not sure what other urb statuses should be ignored, and the warning
message doesn't need to be shown when the module is unloaded or
From: Simon Arlott [EMAIL PROTECTED]
The sysfs attributes for exposing cxacru statistics/status information with
possible values is now explained in Documentation/networking/cxacru.txt
including information on the writable adsl_state attribute's commands and a
sample of the kernel log format.
From: Venki Pallipadi [EMAIL PROTECTED]
Make usb autosuspend timers 1sec jiffy aligned.
This helps to reduce the frequency at which the CPU must be taken out of a
lower-power state.
Signed-off-by: Venkatesh Pallipadi [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton
From: Alan Cox [EMAIL PROTECTED]
The MOS driver is interesting, in a bad kind of 'how the hell did this
get merged' kind of way
- Remove the bogus termios change check
- Remove the duplicate code for half the ioctls
- Remove the supporting code to duplicate the ioctl code
Signed-off-by: Alan
From: Andrew Morton [EMAIL PROTECTED]
avoid sleep-in-spinlock.
Cc: Greg KH [EMAIL PROTECTED]
Cc: Mattia Dongili [EMAIL PROTECTED]
Cc: Stuart Hayes [EMAIL PROTECTED]
Cc: David Brownell [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/host/ehci-hcd.c |8
From: Jan Engelhardt [EMAIL PROTECTED]
Generally, Jens Axboe was against 'default y', so I'll have some patches to
remove it.
Cc: Greg KH [EMAIL PROTECTED]
Cc: Jens Axboe [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/Kconfig |1 -
1 files changed, 1
From: Alan Cox [EMAIL PROTECTED]
Signed-off-by: Alan Cox [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/serial/pl2303.c | 33 +
1 files changed, 1 insertion(+), 32 deletions(-)
diff -puN
From: Alan Cox [EMAIL PROTECTED]
Signed-off-by: Alan Cox [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/serial/visor.c |8
drivers/usb/serial/whiteheat.c |9 -
2 files changed, 17 deletions(-)
diff
From: Yinghai Lu [EMAIL PROTECTED]
So we can use dev_to_node(usb_dev-dev) later in kmalloc_node to dma buffer
Signed-off-by: Yinghai Lu [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Acked-by: Christoph Lameter [EMAIL PROTECTED]
Cc: David Rientjes [EMAIL PROTECTED]
Cc: Greg KH [EMAIL
From: Oliver Neukum [EMAIL PROTECTED]
Fix an oops that happens in relation with applying work arounds for buggy
ftdi_sio devices. The quirks were handled too early because due to changes in
the initialisation of usb serial devices the device was not fully initialised
when the old hook was
From: Robert P. J. Day [EMAIL PROTECTED]
Signed-off-by: Robert P. J. Day [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/Makefile |1 -
1 files changed, 1 deletion(-)
diff -puN
drivers/usb/Makefile~usb-remove-makefile-reference-to-obsolete-ohci_at91
From: Matthias Kaehlcke [EMAIL PROTECTED]
Low performance USB storage driver: Use list_for_each_entry() instead
of list_for_each()
Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Cc: Pete Zaitcev [EMAIL PROTECTED]
Cc: Jens Axboe [EMAIL PROTECTED]
Signed-off-by:
From: Alan Cox [EMAIL PROTECTED]
Signed-off-by: Alan Cox [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/serial/mos7720.c | 10 --
1 files changed, 10 deletions(-)
diff -puN
From: Alan Cox [EMAIL PROTECTED]
Signed-off-by: Alan Cox [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/serial/io_edgeport.c |9 -
drivers/usb/serial/io_ti.c |8
2 files changed, 17 deletions(-)
diff
From: Milinevsky Dmitry [EMAIL PROTECTED]
This short patch allows NIKON D50 to be mounted as UMS[unusual device]
on Linux niam 2.6.22-rc7-cfs-v18 #2 PREEMPT Tue Jul 3 22:35:53 EEST
2007 i686 Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel
GNU/Linux,
some previous kernels...
lsusb -v
Bus 001
From: M4rkusXXL [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/host/Kconfig |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/usb/host/Kconfig~usb-typo-in-usb-r8a66597-hcd-config
drivers/usb/host/Kconfig
From: Alan Cox [EMAIL PROTECTED]
Signed-off-by: Alan Cox [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/serial/kl5kusb105.c | 28 ++--
1 files changed, 18 insertions(+), 10 deletions(-)
diff -puN
From: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/usb/misc/ftdi-elan.c | 121253 - 121196 (-57 bytes)
drivers/usb/misc/ftdi-elan.o | 209425 - 209265 (-160 bytes)
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/misc/ftdi-elan.c
From: Mariusz Kozlowski [EMAIL PROTECTED]
Remove redundant memset() call from udc_pci_probe(). No functional change.
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/gadget/amd5536udc.c |1 -
1
From: Andrew Morton [EMAIL PROTECTED]
Make Pete happy
Cc: Alan Cox [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Cc: Pete Zaitcev [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
drivers/usb/serial/mct_u232.c | 28 ++--
1 files changed, 14
From: Paul Mundt [EMAIL PROTECTED]
Currently when registration fails we're left with a stray reference to
release_mem_region(), this leads to the following case:
r8a66597_hcd r8a66597_hcd: irq 13, io base 0x1804
drivers/usb/host/r8a66597-hcd.c: register access fail.
r8a66597_hcd
From: Paul Mundt [EMAIL PROTECTED]
Previous boards were likely seeing USB_ARCH_HAS_HCD selected by way of
PCMCIA or PCI, though none of those are required for hcd support on SH.
Enable support unconditionally.
Signed-off-by: Paul Mundt [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Cc: Alan
55 matches
Mail list logo