]> git.karo-electronics.de Git - linux-beck.git/log
linux-beck.git
14 years agostaging: octeon: check request_irq() return value
Kulikov Vasiliy [Fri, 30 Jul 2010 11:07:42 +0000 (15:07 +0400)]
staging: octeon: check request_irq() return value

request_irq() may fail, if so propagate error code.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: remove typedef in p80211hdr.h
Edgardo Hames [Mon, 2 Aug 2010 20:17:17 +0000 (17:17 -0300)]
Staging: wlan-ng: remove typedef in p80211hdr.h

This patch removes the only typedef in p80211hdr.h.

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: fix checkpatch issues in headers.
Edgardo Hames [Mon, 2 Aug 2010 19:20:39 +0000 (16:20 -0300)]
Staging: wlan-ng: fix checkpatch issues in headers.

This patch fix errors and warnings reported by checkpatch
in p80211meta.h and p80211metstruct.h.

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: remove typedef in p80211ioctl.h
Edgardo Hames [Sat, 31 Jul 2010 16:29:22 +0000 (13:29 -0300)]
Staging: wlan-ng: remove typedef in p80211ioctl.h

This patches removes the only typedef in p80211ioctl.h

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: fix style issues in p80211conv.h
Edgardo Hames [Sat, 31 Jul 2010 16:06:52 +0000 (13:06 -0300)]
Staging: wlan-ng: fix style issues in p80211conv.h

This patch removes typedefs in p80211conv.h.

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: fix style issues for p80211hdr.h
Edgardo Hames [Sat, 31 Jul 2010 01:51:55 +0000 (22:51 -0300)]
Staging: wlan-ng: fix style issues for p80211hdr.h

Removed typedef and other style issues.

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed NTSTATUS definition
Andres More [Mon, 2 Aug 2010 23:51:57 +0000 (20:51 -0300)]
staging: vt6656: removed NTSTATUS definition

Replaced NTSTATUS with int, as defined in a couple of places.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: simplified tests involving both multi/broad-casts
Andres More [Mon, 2 Aug 2010 23:21:44 +0000 (20:21 -0300)]
staging: vt6656: simplified tests involving both multi/broad-casts

By definition the broadcast address is also a multicast address.
Lindented the modified section as required by checkpatch.pl.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6655: replace BOOL with in kernel bool
Charles Clément [Sun, 1 Aug 2010 15:15:50 +0000 (17:15 +0200)]
Staging: vt6655: replace BOOL with in kernel bool

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6655: replace FALSE with in kernel false
Charles Clément [Sun, 1 Aug 2010 15:15:49 +0000 (17:15 +0200)]
Staging: vt6655: replace FALSE with in kernel false

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6655: replace TRUE with in kernel true
Charles Clément [Sun, 1 Aug 2010 15:15:48 +0000 (17:15 +0200)]
Staging: vt6655: replace TRUE with in kernel true

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6656: Remove PUINT from ttype.h
Roel Van Nyen [Fri, 30 Jul 2010 08:22:19 +0000 (10:22 +0200)]
Staging: vt6656: Remove PUINT from ttype.h

Remove PUINT from ttype.h

Signed-off-by: Roel Van Nyen <roel.vannyen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: quickstart: depends on INPUT
Randy Dunlap [Wed, 28 Jul 2010 17:16:07 +0000 (10:16 -0700)]
Staging: quickstart: depends on INPUT

quickstart uses input_*() functions so it should depend on INPUT.

ERROR: "input_register_device" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_allocate_device" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_event" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_free_device" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_unregister_device" [drivers/staging/quickstart/quickstart.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Angelo Arrifano <miknix@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: remove the driver
Greg Kroah-Hartman [Tue, 3 Aug 2010 01:11:34 +0000 (18:11 -0700)]
Staging: dt3155: remove the driver

There is now a proper V4L driver for this device in the tree,
so remove this one.

Cc: Scott Smedley <ss@aao.gov.au>
Cc: H Hartley Sweeten <hartleys@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: avoid errors if stream id is zero
Ernesto Ramos [Wed, 28 Jul 2010 21:04:57 +0000 (16:04 -0500)]
staging: ti dspbridge: avoid errors if stream id is zero

As 'zero' can be a perfectly good id, it can be picked up as
a NULL from userspace, avoid issues in API and user apps if stream
handle is zero.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: use stream id instead of kernel address
Ernesto Ramos [Wed, 28 Jul 2010 21:04:56 +0000 (16:04 -0500)]
staging: ti dspbridge: use stream id instead of kernel address

Send stream ids to the user instead of handles, then when
the id is coming from user dspbridge can retrive the handle
using id and avoid using invalid handles.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: use processor handle from context instead of user's
Ernesto Ramos [Wed, 28 Jul 2010 21:04:55 +0000 (16:04 -0500)]
staging: ti dspbridge: use processor handle from context instead of user's

Make sure dspbridge driver uses a valid processor handle by
using the handle stored in process context.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: avoid errors if node handle is zero
Ernesto Ramos [Wed, 28 Jul 2010 21:04:54 +0000 (16:04 -0500)]
staging: ti dspbridge: avoid errors if node handle is zero

As 'zero' can be a perfectly good id, it can be picked up as
a NULL from userspace, avoid issues in API and user apps if node
handle is zero.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: use node id instead of kernel address
Ernesto Ramos [Wed, 28 Jul 2010 21:04:53 +0000 (16:04 -0500)]
staging: ti dspbridge: use node id instead of kernel address

Use idr kernel library to send/receive node ids to the
user instead of kernel address.
This id will be use to access the node handles at the
kernel side, if id does not match to any handle
error -EFAULT is returned.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: avoid possible NULL dereference panic
Ernesto Ramos [Wed, 28 Jul 2010 16:50:36 +0000 (11:50 -0500)]
staging: ti dspbridge: avoid possible NULL dereference panic

When dsp_notifications array is received from user,
dspbridge verifies the array has valid pointers
and dsp_notification structures. However, these
structures contain pointers that need to be
checked for valid handles.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: ring_sw Fix pointer arithmetic for 64bit arches by using phys_addr_t
Jonathan Cameron [Thu, 29 Jul 2010 16:50:51 +0000 (17:50 +0100)]
staging: iio: ring_sw Fix pointer arithmetic for 64bit arches by using phys_addr_t

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: ring_sw remove unnecessary function stub.
Jonathan Cameron [Thu, 29 Jul 2010 16:50:50 +0000 (17:50 +0100)]
staging: iio: ring_sw remove unnecessary function stub.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: ring_sw Add select of triggers to avoid build issue.
Jonathan Cameron [Thu, 29 Jul 2010 16:50:49 +0000 (17:50 +0100)]
staging: iio: ring_sw Add select of triggers to avoid build issue.

Currently all drivers that use ring_sw use triggers and I am yet
to see a good reason for any driver not doing so.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adis16350 add dummy ring functions for no ring build case
Jonathan Cameron [Thu, 29 Jul 2010 16:50:48 +0000 (17:50 +0100)]
staging: iio: adis16350 add dummy ring functions for no ring build case

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: lis3l02dq add a thresh_timestamp field to state for no ring case
Jonathan Cameron [Thu, 29 Jul 2010 16:50:47 +0000 (17:50 +0100)]
staging: iio: lis3l02dq add a thresh_timestamp field to state for no ring case

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.
Jonathan Cameron [Thu, 29 Jul 2010 16:50:46 +0000 (17:50 +0100)]
staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove find_gcf from nldr.c
Ernesto Ramos [Wed, 28 Jul 2010 14:56:01 +0000 (09:56 -0500)]
staging:ti dspbridge: remove find_gcf from nldr.c

Remove find_gcf from nldr.c and use kernel function
gcd().

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove bridge_brd_delete function
Ernesto Ramos [Wed, 28 Jul 2010 14:54:55 +0000 (09:54 -0500)]
staging:ti dspbridge: remove bridge_brd_delete function

Remove bridge_brd_delete() function since it is
doing the same that bridge_brd_stop().

Signed-off-by: Ernesto Ramos <ernesto@ernesto-desktop.(none)>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: make sure IVA2 is OFF when dev is created
Ernesto Ramos [Wed, 28 Jul 2010 14:54:54 +0000 (09:54 -0500)]
staging:ti dspbridge: make sure IVA2 is OFF when dev is created

Regardless the IVA2 power state before bridgedriver is
installed, the driver must ensure that IVA2 power
state is OFF when the device driver is created.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: proc_load/start should set IVA2 to OFF in case of failure
Ernesto Ramos [Wed, 28 Jul 2010 14:54:53 +0000 (09:54 -0500)]
staging:ti dspbridge: proc_load/start should set IVA2 to OFF in case of failure

When a base image is being loaded or started and by some reason
the process fails, the IVA2 should be switched OFF.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: fix bridge_brd_stop so IVA2 is set OFF
Ernesto Ramos [Wed, 28 Jul 2010 14:54:52 +0000 (09:54 -0500)]
staging:ti dspbridge: fix bridge_brd_stop so IVA2 is set OFF

right now, bridge_brd_stop is not changing the IVA2 power state
to OFF since PM_PWSTST_IVA2 is not 0 after calling this function.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_FAILED macro definition
Ernesto Ramos [Wed, 28 Jul 2010 14:45:33 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_FAILED macro definition

Since status succeeded is now 0 macro DSP_FAILED
is not necessary anymore. This patch removes this
define.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_FAILED macro from services
Ernesto Ramos [Wed, 28 Jul 2010 14:45:32 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_FAILED macro from services

Since status succeeded is 0, DSP_FAILED macro
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_FAILED macro from rmgr
Ernesto Ramos [Wed, 28 Jul 2010 14:45:31 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_FAILED macro from rmgr

Since status succeeded is 0, DSP_FAILED macro
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_FAILED macro from pmgr
Ernesto Ramos [Wed, 28 Jul 2010 14:45:30 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_FAILED macro from pmgr

Since status succeeded is 0, DSP_FAILED macro
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_FAILED macro from core
Ernesto Ramos [Wed, 28 Jul 2010 14:45:29 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_FAILED macro from core

Since status succeeded is 0, DSP_FAILED macro
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_SUCCEEDED macro definition
Ernesto Ramos [Wed, 28 Jul 2010 14:45:28 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_SUCCEEDED macro definition

Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore. This patch removes this
define.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_SUCCEEDED macro from services
Ernesto Ramos [Wed, 28 Jul 2010 14:45:27 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_SUCCEEDED macro from services

Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_SUCCEEDED macro from rmgr
Ernesto Ramos [Wed, 28 Jul 2010 14:45:26 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_SUCCEEDED macro from rmgr

Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_SUCCEEDED macro from pmgr
Ernesto Ramos [Wed, 28 Jul 2010 14:45:25 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_SUCCEEDED macro from pmgr

Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove DSP_SUCCEEDED macro from core
Ernesto Ramos [Wed, 28 Jul 2010 14:45:24 +0000 (09:45 -0500)]
staging:ti dspbridge: remove DSP_SUCCEEDED macro from core

Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: replace simple_strtoul by strict_strtoul
Ernesto Ramos [Wed, 28 Jul 2010 14:40:52 +0000 (09:40 -0500)]
staging:ti dspbridge: replace simple_strtoul by strict_strtoul

Replace simple_strtoul by strict_strtoul in atoi function.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove unnecessary volatile variables
Ernesto Ramos [Wed, 28 Jul 2010 14:40:51 +0000 (09:40 -0500)]
staging:ti dspbridge: remove unnecessary volatile variables

Remove unnecessary volatile variables; use accessor
functions __raw_readl/__raw_writel instead when applicable.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove function delete_strm_mgr
Ernesto Ramos [Wed, 28 Jul 2010 14:40:50 +0000 (09:40 -0500)]
staging:ti dspbridge: remove function delete_strm_mgr

Remove function delete_strm_mgr in strm.c and
use kfree instead.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove unnecessary check for NULL pointer in cmm.c
Ernesto Ramos [Wed, 28 Jul 2010 14:40:49 +0000 (09:40 -0500)]
staging:ti dspbridge: remove unnecessary check for NULL pointer in cmm.c

Remove unnecessary check for NULL pointer in cmm.c.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging:ti dspbridge: remove unused typedef REG16
Ernesto Ramos [Wed, 28 Jul 2010 14:40:48 +0000 (09:40 -0500)]
staging:ti dspbridge: remove unused typedef REG16

Remove unused typedef REG16 in dspbridge.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ti-st: update ABI and TODO
Pavan Savoy [Wed, 28 Jul 2010 07:26:00 +0000 (02:26 -0500)]
Staging: ti-st: update ABI and TODO

update TODO to reflect the items taken care of,
update ABI to reflect the new debugfs entries exposed.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ti-st: mv sysfs entries to debugfs
Pavan Savoy [Wed, 28 Jul 2010 07:25:59 +0000 (02:25 -0500)]
Staging: ti-st: mv sysfs entries to debugfs

When the chip is in use, information like the chip's ROM version and the
protocols currently making use of the chip needs to be made known to
user-space.
Earlier the version and the protocol-list were exposed as sysfs entries
now cleanup by making them as debugfs entries, also in process remove
any unwanted/previously unused sysfs entries.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: line6: needs to select SND_PCM
Randy Dunlap [Tue, 27 Jul 2010 19:21:19 +0000 (12:21 -0700)]
Staging: line6: needs to select SND_PCM

line6 uses snd_pcm*() functions, so it should select SND_PCM.

ERROR: "snd_pcm_period_elapsed" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_set_ops" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_free_pages" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_ioctl" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_malloc_pages" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_hw_constraint_ratdens" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_format_physical_width" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_preallocate_pages_for_all" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_new" [drivers/staging/line6/line6usb.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Markus Grabner <grabner@icg.tugraz.at>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: hv: remove RING_BUFFER typedef
Greg Kroah-Hartman [Tue, 27 Jul 2010 18:47:08 +0000 (11:47 -0700)]
Staging: hv: remove RING_BUFFER typedef

typedefs are bad, kill them.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: hv: remove RING_BUFFER_INFO typedef
Greg Kroah-Hartman [Tue, 27 Jul 2010 18:43:11 +0000 (11:43 -0700)]
Staging: hv: remove RING_BUFFER_INFO typedef

typedefs are bad, kill them.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: hv: remove RING_BUFFER_DEBUG_INFO typedef
Greg Kroah-Hartman [Tue, 27 Jul 2010 18:37:32 +0000 (11:37 -0700)]
Staging: hv: remove RING_BUFFER_DEBUG_INFO typedef

typedefs are bad, kill them.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: usbip: fix up build error
Greg Kroah-Hartman [Tue, 27 Jul 2010 18:12:21 +0000 (11:12 -0700)]
Staging: usbip: fix up build error

This dma flag is no longer in the kernel.  Remove it as it's pointless
and it causes a build error.

Cc: Endre Kollar <taxy443@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: usbip: Filtering illegal flags from remote driver
Endre Kollar [Tue, 27 Jul 2010 10:40:00 +0000 (12:40 +0200)]
Staging: usbip: Filtering illegal flags from remote driver

The usb_submit_urb function in debug mode monitors the bogus flags. The
client driver errors should not be conveyed to the local USB device.

Signed-off-by: Endre Kollar <taxy443@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: usbip: simplify get_ep_from_epnum
Endre Kollar [Tue, 27 Jul 2010 10:39:45 +0000 (12:39 +0200)]
Staging: usbip: simplify get_ep_from_epnum

usb_device->ep_in/out includes the necessary endpoints, search is not needed.

Signed-off-by: Endre Kollar <taxy443@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: usbip: fix multiple interfaces
Endre Kollar [Tue, 27 Jul 2010 10:39:30 +0000 (12:39 +0200)]
Staging: usbip: fix multiple interfaces

The stub_probe function instantiates an stub_dev object  for all
interfaces. Wich causes a problem.  The stub_dev object belongs to their
own interfaces. This patch creates the sdev object at the first
stub_probe call, the other calls associate the interfaces to this.

Signed-off-by: Endre Kollar <taxy443@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Delete some redundant code
Mike McCormack [Mon, 26 Jul 2010 13:58:54 +0000 (22:58 +0900)]
staging: rtl8192e: Delete some redundant code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Make arrays const
Mike McCormack [Mon, 26 Jul 2010 13:58:44 +0000 (22:58 +0900)]
staging: rtl8192e: Make arrays const

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Remove useless debug code
Mike McCormack [Mon, 26 Jul 2010 13:58:36 +0000 (22:58 +0900)]
staging: rtl8192e: Remove useless debug code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Remove macro already in the kernel
Mike McCormack [Mon, 26 Jul 2010 13:58:26 +0000 (22:58 +0900)]
staging: rtl8192e: Remove macro already in the kernel

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Delete unused code
Mike McCormack [Mon, 26 Jul 2010 13:58:16 +0000 (22:58 +0900)]
staging: rtl8192e: Delete unused code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Make structs const, move prototypes to top
Mike McCormack [Mon, 26 Jul 2010 13:58:03 +0000 (22:58 +0900)]
staging: rtl8192e: Make structs const, move prototypes to top

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Make functions static
Mike McCormack [Mon, 26 Jul 2010 13:57:52 +0000 (22:57 +0900)]
staging: rtl8192e: Make functions static

Move some function prototypes to the top of the file
and make some functions static.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Make static variables const
Mike McCormack [Mon, 26 Jul 2010 13:57:35 +0000 (22:57 +0900)]
staging: rtl8192e: Make static variables const

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192e: Make some static structs const
Mike McCormack [Mon, 26 Jul 2010 13:57:24 +0000 (22:57 +0900)]
staging: rtl8192e: Make some static structs const

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: msm: remove video drivers for obsolete platforms
Neil Leeder [Mon, 26 Jul 2010 19:00:23 +0000 (15:00 -0400)]
staging: msm: remove video drivers for obsolete platforms

Start cleaning up the msm framebuffer in preparation
for integration with mainline. Remove unused drivers.

Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rt2870: Add USB ID for Belkin F6D4050 v2
Larry Finger [Sun, 25 Jul 2010 21:14:53 +0000 (16:14 -0500)]
staging: rt2870: Add USB ID for Belkin F6D4050 v2

Device missing from current tables.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Rod Huffaker <rod.huffaker@gmail.com>
Cc: Stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: hv: Fix Kconfig dependency of hv_blkvsc
Haiyang Zhang [Fri, 23 Jul 2010 21:24:42 +0000 (21:24 +0000)]
staging: hv: Fix Kconfig dependency of hv_blkvsc

LBDAF is not available nor necessary on 64BIT kernel. This patch
fixed the dependency for hv_blkvsc module on 64BIT kernel.
Thanks vrataj2 [vrataj2@comcast.net] for reporting this problem.

Reported-by: vrataj2 <vrataj2@comcast.net>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: IIO: typo in Documentation/overview.txt
Matthias Brugger [Fri, 23 Jul 2010 20:28:56 +0000 (22:28 +0200)]
Staging: IIO: typo in Documentation/overview.txt

Signed-off-by: Matthias Brugger <mensch0815@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: fix style in cfg80211.c
Edgardo Hames [Sat, 24 Jul 2010 15:50:15 +0000 (12:50 -0300)]
Staging: wlan-ng: fix style in cfg80211.c

Fixed several errors reported by checkpatch.

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: make local functions static
H Hartley Sweeten [Fri, 23 Jul 2010 18:49:25 +0000 (11:49 -0700)]
Staging: dt3155: make local functions static

The functions adjust_4MB and allocate_buffers are only called locally in
dt3155_isr.c and should be static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: make module_{init/exit} functions static
H Hartley Sweeten [Fri, 23 Jul 2010 18:38:41 +0000 (11:38 -0700)]
Staging: dt3155: make module_{init/exit} functions static

The module_init() and module_exit() functions should be static and marked
with __init and __exit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Remove unused macros
Armando Uribe [Fri, 23 Jul 2010 01:25:34 +0000 (20:25 -0500)]
staging: tidspbridge: Remove unused macros

This patch removes a couple of macros that are not
being used

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Change macros to static inline functions
Armando Uribe [Fri, 23 Jul 2010 01:25:33 +0000 (20:25 -0500)]
staging: tidspbridge: Change macros to static inline functions

This patch changes preprocesing macros to static inline
funcions. Also the function is_equal_uuid (IS_EQUAL_UUID) now uses the
memcmp function.

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Remove macros used as cast
Armando Uribe [Fri, 23 Jul 2010 01:25:32 +0000 (20:25 -0500)]
staging: tidspbridge: Remove macros used as cast

This patch removes those macros that are used to
perform casts

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Remove unused magic number
Armando Uribe [Fri, 23 Jul 2010 01:25:31 +0000 (20:25 -0500)]
staging: tidspbridge: Remove unused magic number

This patch removes an unused magic number from the cod_manager
structure.

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Remove redundant macro from cod.c
Armando Uribe [Fri, 23 Jul 2010 01:25:30 +0000 (20:25 -0500)]
staging: tidspbridge: Remove redundant macro from cod.c

This patch removes a redundant macro from cod.c simply used
to verify that a field was not NULL

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Change macros to static inline functions used in cload
Armando Uribe [Fri, 23 Jul 2010 01:25:29 +0000 (20:25 -0500)]
staging: tidspbridge: Change macros to static inline functions used in cload

This patch changes the macros to static inline function used
in cload as well adds two definition of const to avoid using magic
numbers

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Change macros to static inline functions in io_sm
Armando Uribe [Fri, 23 Jul 2010 01:25:28 +0000 (20:25 -0500)]
staging: tidspbridge: Change macros to static inline functions in io_sm

This patch change to macros to static inline functions, these
macros are used to perform write/read operations in shared memory

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Remove redundant macros in io_sm.c
Armando Uribe [Fri, 23 Jul 2010 01:25:27 +0000 (20:25 -0500)]
staging: tidspbridge: Remove redundant macros in io_sm.c

This patch removes 4 redundant macros used to perform
read/write operations in shared memory region from io_sm.c.

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: Remove Redundant wrappers
Armando Uribe [Fri, 23 Jul 2010 01:25:26 +0000 (20:25 -0500)]
staging: tidspbridge: Remove Redundant wrappers

This patch removes redundant wrappers from io_sm.c file

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: hv: remove DPRINT_EXIT macro
Greg Kroah-Hartman [Thu, 22 Jul 2010 22:14:04 +0000 (15:14 -0700)]
Staging: hv: remove DPRINT_EXIT macro

No need for it, use the built-in kernel function tracing instead
if you really need something like this.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: hv: remove DPRINT_ENTER macro
Greg Kroah-Hartman [Thu, 22 Jul 2010 22:00:18 +0000 (15:00 -0700)]
Staging: hv: remove DPRINT_ENTER macro

We have ftrace to look at function traces if its really
needed.  Don't roll custom macros for this.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: don't use default init_module/cleanup_module function names
Randy Dunlap [Tue, 20 Jul 2010 00:23:10 +0000 (17:23 -0700)]
Staging: dt3155: don't use default init_module/cleanup_module function names

Fromy: Randy Dunlap <randy.dunlap@oracle.com>

Fix the dt3155 driver to use module_init()/module_exit() instead of
default init_module() and cleanup_module() function names.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Scott Smedley <ss@aao.gov.au>
Cc: Marek Lindner <lindner_marek@yahoo.de>
Cc: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlags49_h2: remove unused function prototype
Javier Martinez Canillas [Tue, 20 Jul 2010 04:56:54 +0000 (00:56 -0400)]
Staging: wlags49_h2: remove unused function prototype

With today linux-next I got a compile error in staging/wlags49_h2 driver
due an unused function prototype that use a data type (event_callback_args_t)
that doesn't exist anymore in the pcmcia code.

Current patch solves the issue removing the function prototype.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: Remove unnecessary casts of private_data
Joe Perches [Mon, 12 Jul 2010 20:50:10 +0000 (13:50 -0700)]
Staging: Remove unnecessary casts of private_data

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: fix typos concerning "address"
Uwe Kleine-König [Mon, 12 Jul 2010 15:15:46 +0000 (17:15 +0200)]
Staging: fix typos concerning "address"

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove dbdefs.h
Menon, Nishanth [Thu, 22 Jul 2010 21:03:50 +0000 (16:03 -0500)]
staging: tidspbridge: remove dbdefs.h

Remove yet another custom definition header

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove OUT define
Menon, Nishanth [Thu, 22 Jul 2010 21:03:49 +0000 (16:03 -0500)]
staging: tidspbridge: remove OUT define

Remove OUT modifier which makes no sense for linux kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove OPTIONAL
Menon, Nishanth [Thu, 22 Jul 2010 21:03:48 +0000 (16:03 -0500)]
staging: tidspbridge: remove OPTIONAL

OPTIONAL modifier makes no sense in linux kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove IN modifier
Menon, Nishanth [Thu, 22 Jul 2010 21:03:47 +0000 (16:03 -0500)]
staging: tidspbridge: remove IN modifier

IN modifier does not exist. remove it

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: replace CONST with c standard const
Menon, Nishanth [Thu, 22 Jul 2010 21:03:46 +0000 (16:03 -0500)]
staging: tidspbridge: replace CONST with c standard const

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove GlobalTypes.h
Menon, Nishanth [Thu, 22 Jul 2010 21:03:45 +0000 (16:03 -0500)]
staging: tidspbridge: remove GlobalTypes.h

Remove custom globaltypes.h header

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: Fixed all printk warnings found by checkpatch.pl
Joe Eloff [Thu, 22 Jul 2010 20:00:47 +0000 (22:00 +0200)]
Staging: dt3155: Fixed all printk warnings found by checkpatch.pl

Added all KERN_ levels in printk found by checkpatch.pl

Signed-off-by: Joe Eloff <kagen101@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: Change include to linux header
Joe Eloff [Thu, 22 Jul 2010 19:59:10 +0000 (21:59 +0200)]
Staging: dt3155: Change include to linux header

Changed <asm/uaccess.h> to <linux/uaccess.h>

Signed-off-by: Joe Eloff <kagen101@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: wlan-ng: remove own bin2hex converter
Andy Shevchenko [Thu, 22 Jul 2010 16:57:11 +0000 (19:57 +0300)]
staging: wlan-ng: remove own bin2hex converter

In kernel we have hex_asc_hi and hex_asc_lo macroses to do the job.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: wlags49_h2: remove custom hex_to_bin() method
Andy Shevchenko [Thu, 22 Jul 2010 16:57:10 +0000 (19:57 +0300)]
staging: wlags49_h2: remove custom hex_to_bin() method

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: otus: remove unused methods
Andy Shevchenko [Thu, 22 Jul 2010 16:57:07 +0000 (19:57 +0300)]
staging: otus: remove unused methods

This is rebased version of the patch [1] which was mysteriously not
pushed anywhere but acked.

Here are two methods to convert hex value to binary format. These
certain methods aren't used anywhere in kernel.

[1] http://lkml.org/lkml/2010/2/18/267

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: removed typedef from prism2fw.c
Edgardo Hames [Thu, 22 Jul 2010 01:31:56 +0000 (22:31 -0300)]
Staging: wlan-ng: removed typedef from prism2fw.c

Removed multiple typedef and fixed long lines.

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlan-ng: fix style in p80211netdev.c
Edgardo Hames [Thu, 22 Jul 2010 01:31:55 +0000 (22:31 -0300)]
Staging: wlan-ng: fix style in p80211netdev.c

Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>