28 Oct, 2008
1 commit
-
A number of places still use %02x:...:%02x because it's
in debug statements or for no real reason. Make a few
of them use %pM.Signed-off-by: Johannes Berg
Signed-off-by: David S. Miller
23 Oct, 2008
1 commit
-
This patch (as1150) fixes a problem in the speedtch driver. When it
resets the modem during probe it will be unbound from the other
interfaces it has claimed, because it doesn't define a pre_reset and a
post_reset method.The patch defines "do-nothing" methods. This fixes Bugzilla #11767.
Signed-off-by: Alan Stern
Cc: stable
Signed-off-by: Greg Kroah-Hartman
18 Oct, 2008
1 commit
-
USB should not be having it's own printk macros, so remove warn() and
use the system-wide standard of dev_warn() wherever possible. In the
few places that will not work out, use a basic printk().Signed-off-by: Greg Kroah-Hartman
23 Sep, 2008
1 commit
-
Signed-off-by: David S. Miller
24 Aug, 2008
1 commit
-
This patch lets the files using linux/version.h match the files that
#include it.Signed-off-by: Adrian Bunk
Signed-off-by: Linus Torvalds
14 Aug, 2008
1 commit
-
"#%x" should have been "%#x"
Signed-off-by: Simon Arlott
Signed-off-by: Greg Kroah-Hartman
22 Jul, 2008
2 commits
-
Remove an explicit memset(.., 0, ...) to a variable allocated with kzalloc
(i.e. 'card_info' array of the structure 'instance').Signed-off-by: Christophe Jaillet
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
i is used only as a for-loop index no need to declare another.
drivers/usb/atm/speedtch.c:832:7: warning: symbol 'i' shadows an earlier one
drivers/usb/atm/speedtch.c:766:6: originally declared hereSigned-off-by: Harvey Harrison
Signed-off-by: Greg Kroah-Hartman
10 Jul, 2008
2 commits
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
03 May, 2008
1 commit
-
Given that the bulk of the Kconfig file is enclosed in "if USB_ATM",
remove the unnecessary dependencies.Signed-off-by: Robert P. J. Day
Signed-off-by: Greg Kroah-Hartman
29 Apr, 2008
2 commits
-
Signed-off-by: Harvey Harrison
Acked-by: Greg Kroah-Hartman
Cc: Alan Stern
Cc: David Brownell
Cc: Al Viro
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
* endianness annotations
* endianness fixes
* missing get_unaligned/put_unalignedIt's pretty much all over the place, changes to different files are independent.
Signed-off-by: Al Viro
Serial-parts-Acked-by: Alan Cox
Signed-off-by: Linus Torvalds
25 Apr, 2008
3 commits
-
urb->context code cleanup
Signed-off-by: Ming Lei
Signed-off-by: Greg Kroah-Hartman -
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: Greg Kroah-Hartman -
This is an attempt to kill two birds with one stone.
First, we kill one more user of kernel_thread, which is scheduled
for removal. Second - we kill one of the last users of kill_proc -
the function which is also to be removed, because it uses a pid_t
which is not safe now.Signed-off-by: Pavel Emelyanov
Signed-off-by: Duncan Sands
Signed-off-by: Greg Kroah-Hartman
19 Apr, 2008
1 commit
-
None of these files use any of the functionality promised by
asm/semaphore.h. It's possible that they rely on it dragging in some
unrelated header file, but I can't build all these files, so we'll have
fix any build failures as they come up.Signed-off-by: Matthew Wilcox
02 Feb, 2008
3 commits
-
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 having to disable each option separately.Signed-off-by: Denis Cheng
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Joe Perches
Acked-by: David Brownell
Signed-off-by: Greg Kroah-Hartman
15 Oct, 2007
1 commit
-
... should be unsigned int
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
13 Oct, 2007
8 commits
-
When an error occurs, existing logging uses dbg() so the cause of a
problem is hard to determine. Error conditions shouldn't only be
properly reported with debugging enabled.A side effect of this change is that when an uninitialised device is
started, a log message similar to the following is sent:
cxacru 5-2:1.0: receive of cm 0x90 failed (-104)
This is normal - the device did not respond so firmware will be loaded.Signed-off-by: Simon Arlott
Acked-by: Duncan Sands
Signed-off-by: Greg Kroah-Hartman -
Update copyrights and remove not necessary warning (ueagle-atm works
well on suspend/resume).Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
Do not sleep in kernel thread when device is disconnected, this make faster
suspending and module unloading. Use one wait queue for sleeping.Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
Ueagle-atm driver load DSP firmware in function, which is running from
common workqueue. In some (error) circumstances loading firmware may
sleep for long periods (even 60 seconds, depending on timeout). This
block keyboard driver, which also use common workqueue. To fix problem
use custom workqueue in ueagle-atm.Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
Let's user control how much USB bus bandwidth will be reserved by
ueagle-atm device. This make possible to share bus with other devices
when ueagle-atm driver works in isochronous mode.Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
Support for Devolo and Elsa chipsets. These chipsets have no information
about ADSL annex (line type) encoded in USB descriptors. Driver try to
get this information from USB VID and PID or it can be explicitly set by
the user through module parameter. Thanks to Johann Hanne, whose make
most of this patch.Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
Add support to newest chipset of eagle family. It is compatible with
older chipsets at USB level. However DSP firmware and CMVs
(Configuration and Management Variables) have different format of data
and are sent/received by different way.Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
This trivial patch removes the unneeded pointer intf returned from
usb_ifnum_to_if(), which is never used. The check for NULL can be simply done
by if (!usb_ifnum_to_if(usb_dev, 2)).Signed-off-by: Micah Gruber
Signed-off-by: Greg Kroah-Hartman
23 Aug, 2007
2 commits
-
Bugfix, remove sysfs files when modem fails to boot.
Signed-off-by: Stanislaw Gruszka
Signed-off-by: Greg Kroah-Hartman -
it seems like you overdid it a bit in your quest to clean up the
use of urb->status. In this driver you read it the first thing, which
means that you are in a race against URB completion you'll
usually lose, returning -EINPROGRESS. This kills the driver.Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman
20 Jul, 2007
4 commits
-
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.Signed-off-by: Greg Kroah-Hartman
-
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.Signed-off-by: Greg Kroah-Hartman
-
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.Signed-off-by: Greg Kroah-Hartman
-
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.Signed-off-by: Greg Kroah-Hartman
18 Jul, 2007
1 commit
-
Currently, the freezer treats all tasks as freezable, except for the kernel
threads that explicitly set the PF_NOFREEZE flag for themselves. This
approach is problematic, since it requires every kernel thread to either
set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
care for the freezing of tasks at all.It seems better to only require the kernel threads that want to or need to
be frozen to use some freezer-related code and to remove any
freezer-related code from the other (nonfreezable) kernel threads, which is
done in this patch.The patch causes all kernel threads to be nonfreezable by default (ie. to
have PF_NOFREEZE set by default) and introduces the set_freezable()
function that should be called by the freezable kernel threads in order to
unset PF_NOFREEZE. It also makes all of the currently freezable kernel
threads call set_freezable(), so it shouldn't cause any (intentional)
change of behaviour to appear. Additionally, it updates documentation to
describe the freezing of tasks more accurately.[akpm@linux-foundation.org: build fixes]
Signed-off-by: Rafael J. Wysocki
Acked-by: Nigel Cunningham
Cc: Pavel Machek
Cc: Oleg Nesterov
Cc: Gautham R Shenoy
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Jul, 2007
1 commit
-
This changes the format of unknown status values to be less verbose and
uses an array instead of several different snprintf calls. Since only
enum values are assigned to it, poll_state is changed from int to enum.
Use abs() for dB values instead of two almost identical return lines.Signed-off-by: Simon Arlott
Acked-by: Duncan Sands
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman
09 Jun, 2007
2 commits
-
The sysfs adsl_status attribute ignores (aside from returning -EIO to the
user) any error sending a START/STOP command to the device and there is at
least one firmware which never sends a response but appears to work
regardless. Therefore atm_start should also continue if an error is received
so that such firmware is usable.The official Conexant driver doesn't expect a reply either but this is for
another device (E2 router) and a commonly used firmware does respond.Also, there is no point in changing -ECONNRESET to -ETIMEDOUT since nothing
ever checks for either of these values.Signed-off-by: Simon Arlott
Cc: Duncan Sands
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
Since usbatm doesn't set the usb_interface driver data until after calling
bind and heavy_init, it would be NULL when the sysfs attributes are read.
Reading the MAC address from atm_dev before atm_dev exists would have been
be possible too.Calling create_device_file in atm_start will avoid this problem, and the
data is useless until the first status poll runs. However, it must be
ready before a status poll does a printk on line status change otherwise
userspace could react before the files exist.For completeness I've moved remove_device_file to atm_stop so it's not
called in unbind when it's not needed. There's no point starting ADSL if
atm_start could still fail either.Signed-off-by: Simon Arlott
Cc: Duncan Sands
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman
10 May, 2007
1 commit
-
usbatm_do_heavy_init() calls allow_signal() which plays with parent process's
->sighand.Signed-off-by: Oleg Nesterov
Acked-by: Duncan Sands
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds