GitHub/moto-9609/android_kernel_motorola_exynos9610.git
14 years agostaging: iio: accel remove old event codes
Jonathan Cameron [Fri, 8 Oct 2010 11:14:04 +0000 (12:14 +0100)]
staging: iio: accel remove old event codes

Signed-off-by: Joanthan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: sca3000 move to new event code scheme and add combined orientations
Jonathan Cameron [Fri, 8 Oct 2010 11:14:03 +0000 (12:14 +0100)]
staging: iio: sca3000 move to new event code scheme and add combined orientations

The combined orientations allow handling of typical motion and free fall
detectors to be handled as threshold events just applied to a number of
axes via boolean operations.  So freefall is when x, y and z magnitudes
are all below a threshold for a particular period.  Motion detectors
are typically whether x or y or z are above a particular value.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: lis3l02dq move to new event code scheme
Jonathan Cameron [Fri, 8 Oct 2010 11:14:02 +0000 (12:14 +0100)]
staging: iio: lis3l02dq move to new event code scheme

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc events update to new numbering system
Jonathan Cameron [Fri, 8 Oct 2010 11:14:01 +0000 (12:14 +0100)]
staging: iio: adc events update to new numbering system

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: events define macros for new event code system
Jonathan Cameron [Fri, 8 Oct 2010 11:14:00 +0000 (12:14 +0100)]
staging: iio: events define macros for new event code system

These are step one of moving to a systematic numbering for event
codes.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Use proper BRCM_FULLMAC #ifdefs
Brett Rudley [Fri, 8 Oct 2010 03:31:46 +0000 (20:31 -0700)]
staging: brcm80211: Use proper BRCM_FULLMAC #ifdefs

Make it obvious that DHD_USE_STATIC_BUF is only used as part of FULLMAC build

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: light: Adding driver for ISL29018 ALS
Rhyland Klein [Thu, 7 Oct 2010 22:48:09 +0000 (15:48 -0700)]
staging: iio: light: Adding driver for ISL29018 ALS

adding support for the ISL 29018 ambient light and proximity sensor.

Addressed comments from reviews by Jonathan Cameron and Joe Perches
  * Removed some excess dbg prints that only printed function name
  * Renamed some properties to make them more descriptive
  * Added a property to list available adc resolutions
  * Defined arrays for resolutions/ranges as static const
  * Change loops initialization to memset for extensibility.
    * used sizeof() instead of ARRAY_SIZE() to be safer
  * Added a property to list available adc ranges
  * Fixed warnings and property names.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove dead code from siutils.c
Henry Ptasinski [Fri, 8 Oct 2010 02:52:11 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from siutils.c

Removed lots of unused functions from siutils.c

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove dead code from bcmwifi.c
Henry Ptasinski [Fri, 8 Oct 2010 02:52:10 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from bcmwifi.c

Removed unused functions wf_chspec_ntoa() and wf_chspec_aton().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove dead code from linux_osl.c.
Henry Ptasinski [Fri, 8 Oct 2010 02:52:09 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from linux_osl.c.

Removed several completely unused functions:
osl_malloc_failed
osl_pcmcia_attr
osl_pcmcia_read_attr
osl_pcmcia_write_attr
osl_pktdup
and related macros

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unnecessary hndtcam.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:08 +0000 (19:52 -0700)]
staging: brcm80211: Remove unnecessary hndtcam.h

The header file is unnecessary.  Delete it and don't include it.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unnecessary bitfuncs.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:07 +0000 (19:52 -0700)]
staging: brcm80211: Remove unnecessary bitfuncs.h

This header file is no longer included anywhere.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Don't include bitfuncs.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:06 +0000 (19:52 -0700)]
staging: brcm80211: Don't include bitfuncs.h

Remove include of bitfuncs.h, as it's completely uncessary for these files.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Use linux/bitops.h instead of bitfuncs.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:05 +0000 (19:52 -0700)]
staging: brcm80211: Use linux/bitops.h instead of bitfuncs.h

Use ffs() from linux/bitops.h, instead of the locally defined find_msbit().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove dead code from aiutils.c
Henry Ptasinski [Fri, 8 Oct 2010 02:52:04 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from aiutils.c

Removed unused function ai_view().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: speakup: fix speakup core to build properly
Greg Kroah-Hartman [Fri, 8 Oct 2010 02:30:49 +0000 (19:30 -0700)]
Staging: speakup: fix speakup core to build properly

The vc_data structure changed to move the tty structure off to the port,
so change the code to handle this.  Now the code will build properly,
and hopefully work as well.

Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: add speakup to the staging directory
William Hubbs [Thu, 7 Oct 2010 18:20:02 +0000 (13:20 -0500)]
Staging: add speakup to the staging directory

Speakup is a kernel based screen review package for the linux operating
system.  It allows blind users to interact with applications on the
linux console by means of synthetic speech.

The authors and maintainers of this code include the following:

Kirk Reiser, Andy Berdan, John Covici, Brian and
David Borowski, Christopher Brannon, Samuel Thibault and William Hubbs.

Signed-off-by: William Hubbs <w.d.hubbs@gmail.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/int16/s16/
Greg Kroah-Hartman [Fri, 8 Oct 2010 00:08:21 +0000 (17:08 -0700)]
Staging: brcm80211: s/int16/s16/

Use the kernel types, don't invent your own.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/uint16/u16/
Greg Kroah-Hartman [Fri, 8 Oct 2010 00:04:47 +0000 (17:04 -0700)]
Staging: brcm80211: s/uint16/u16/

Use the kernel types, don't invent your own.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove forgotten undef
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:41:32 +0000 (16:41 -0700)]
Staging: brcm80211: remove forgotten undef

I forgot to remove the float undefs in typedef.h from previous patches,
this fixes this issue.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: wl_cfg80211.c: fix compiler warnings
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:38:43 +0000 (16:38 -0700)]
Staging: brcm80211: wl_cfg80211.c: fix compiler warnings

size_t should be '%zd' in a printf, not '%d'

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove some more macros from linuxver.h
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:34:51 +0000 (16:34 -0700)]
Staging: brcm80211: remove some more macros from linuxver.h

These aren't needed anymore, and now we are down to just one broken one,
and a whole bunch of #include files here.  This can be further factored
by moving the proper #includes into the different .c files, and not
leaving them in this one large one.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unused irq typedef
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:30:25 +0000 (16:30 -0700)]
Staging: brcm80211: remove unused irq typedef

If it's not needed, why define it?

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unneeded pm macro
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:28:15 +0000 (16:28 -0700)]
Staging: brcm80211: remove unneeded pm macro

Use the real type, not a macro.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove some unused macros
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:25:58 +0000 (16:25 -0700)]
Staging: brcm80211: remove some unused macros

These are all defined by the core kernel, use those versions
instead of just creating noops.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unneeded pci macros
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:23:24 +0000 (16:23 -0700)]
Staging: brcm80211: remove unneeded pci macros

These wrapper macros aren't needed, remove them.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove free_netdev wrapper
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:20:43 +0000 (16:20 -0700)]
Staging: brcm80211: remove free_netdev wrapper

It's incorrect, call the real function.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove old module macro wrappers
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:19:11 +0000 (16:19 -0700)]
Staging: brcm80211: remove old module macro wrappers

they weren't doing anything, so get rid of them.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove MY_INIT_WORK macro
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:11:01 +0000 (16:11 -0700)]
Staging: brcm80211: remove MY_INIT_WORK macro

Use the real macro instead.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: hv: Rename camel cased functions in channel.c to lowercase
Haiyang Zhang [Thu, 7 Oct 2010 18:40:08 +0000 (11:40 -0700)]
staging: hv: Rename camel cased functions in channel.c to lowercase

Rename camel cased functions in channel.c to lowercase

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: comedi: file: Removed braces from some statement blocks
Maurice Dawson [Thu, 7 Oct 2010 18:45:38 +0000 (19:45 +0100)]
Staging: comedi: file: Removed braces from some statement blocks

Unnecessary braces in some statement blocks

Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: remove ';' after while() in macros.
Jason Cooper [Wed, 6 Oct 2010 21:40:06 +0000 (17:40 -0400)]
staging: brcm80211: remove ';' after while() in macros.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: wl_cfg80211.c: fix 'assignment in if condition'
Jason Cooper [Wed, 6 Oct 2010 21:40:05 +0000 (17:40 -0400)]
staging: brcm80211: wl_cfg80211.c: fix 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ft1000-usb: Add correct procedure for fw image downloading.
Marek Belisko [Thu, 7 Oct 2010 12:36:37 +0000 (14:36 +0200)]
staging: ft1000-usb: Add correct procedure for fw image downloading.

call request_firmware instead of trying to open the file directly from
the kernel driver.

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: bind driver name to device name
Omar Ramirez Luna [Thu, 7 Oct 2010 05:45:10 +0000 (00:45 -0500)]
staging: tidspbridge: bind driver name to device name

Since the device name has changed use the new name to
bind the driver to it.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: bug fix - connection status report
nohee ko [Wed, 6 Oct 2010 18:07:13 +0000 (11:07 -0700)]
staging: brcm80211: bug fix - connection status report

Added connection status report for the case connection fails.
Originally this logic was missing.

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: removed duplicated file, linux_osl.c
nohee ko [Wed, 6 Oct 2010 18:56:28 +0000 (11:56 -0700)]
staging: brcm80211: removed duplicated file, linux_osl.c

Removed duplicated file, linux_osl.c from brcmfmac.
linux_osl.c under brcm80211/util/ will be shared
between softmac & fullmac drivers

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFT
Michael Hennerich [Thu, 7 Oct 2010 12:24:33 +0000 (14:24 +0200)]
staging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFT

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: ad799x drop in_precision in favor of new in_type
Michael Hennerich [Thu, 7 Oct 2010 14:14:10 +0000 (16:14 +0200)]
staging: iio: adc: ad799x drop in_precision in favor of new in_type

-drop in_precision in favor of new in_type -
This also fixes the bug from the scan elements move (as a side effect)
-add sign and storagebits to struct ad799x_chip_info
-properly mask the results based on ad799x_chip_info:bits

staging: iio: adc: ad799x misc fixed per iio list review

remove new line
remove storagebits from struct ad799x_chip_info
use defined storagebits value for in_type

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: max1363 fix bug due to scan_element directory move.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:21 +0000 (13:10 +0100)]
staging: iio: max1363 fix bug due to scan_element directory move.

    The device found passed to the attr functions is that of the ring
    buffer, not the the iio_dev so we need to bounce through one more
    hop to get the right address.

Reported-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: sca3000 fix bug due to scan_element directory move.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:20 +0000 (13:10 +0100)]
staging: iio: sca3000 fix bug due to scan_element directory move.

The device found passed to the attr functions is that of the ring
buffer, not the the iio_dev so we need to bounce through one more
hop to get the right address.

Reported-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: timestamp_en naming typo fix.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:19 +0000 (13:10 +0100)]
staging: iio: timestamp_en naming typo fix.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: max1363: remove unused variable
Michael Hennerich [Wed, 6 Oct 2010 15:49:02 +0000 (17:49 +0200)]
staging: iio: adc: max1363: remove unused variable

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0
Michael Hennerich [Thu, 7 Oct 2010 11:27:37 +0000 (13:27 +0200)]
staging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agomisc: ti-st: Kconfig & Makefile for TI_ST
Pavan Savoy [Wed, 6 Oct 2010 16:18:15 +0000 (12:18 -0400)]
misc: ti-st: Kconfig & Makefile for TI_ST

Add the Kconfig and the Makefile for the TI_ST driver.
TI_ST driver is the line discipline driver for the Texas Instrument's
WiLink chipsets.
Also add the ti-st folder to list of drivers under drivers/misc.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti-st: move TI_ST from staging to misc/
Pavan Savoy [Wed, 6 Oct 2010 16:18:14 +0000 (12:18 -0400)]
staging: ti-st: move TI_ST from staging to misc/

move the 3 source files st_core.c, st_kim.c and st_ll.c
from staging to drivers/misc/.

Texas Instrument's WiLink 7 chipset packs wireless technologies like
Bluetooth, FM, GPS and WLAN into a single die.
Among these the Bluetooth, FM Rx/Tx and GPS are interfaced to a apps processor
over a single UART.

This line discipline driver allows various protocol drivers such as Bluetooth
BlueZ driver, FM V4L2 driver and GPS simple character device driver
to communicate with its relevant core in the chip.

Each protocol or technologies use a logical channel to communicate with chip.
Bluetooth uses the HCI-H4 [channels 1-4], FM uses a CH-8 and
GPS a CH-9 protocol. The driver also constitutes the TI HCI-LL Power
Management protocol which use channels 30-33.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: ad799x: Address iio list feedback
Michael Hennerich [Wed, 6 Oct 2010 08:25:49 +0000 (10:25 +0200)]
staging: iio: adc: ad799x: Address iio list feedback

Address feedback from Shubhrajyoti Datta:
Cast return value
Michael Hennerich:
Use i2c_smbus_read_byte_data()
Fix return value check

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: max1363: prevent buffer overflow
Michael Hennerich [Wed, 6 Oct 2010 14:15:37 +0000 (16:15 +0200)]
staging: iio: adc: max1363: prevent buffer overflow

ring->access.read_last() reads the entire datum from
the ring including padding and time stamp.

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: ad799x: prevent buffer overflow
Michael Hennerich [Wed, 6 Oct 2010 14:22:17 +0000 (16:22 +0200)]
staging: iio: adc: ad799x: prevent buffer overflow

ring->access.read_last() reads the entire datum from the ring including padding and time stamp.

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch macro errors.
Jason Cooper [Wed, 6 Oct 2010 14:08:03 +0000 (10:08 -0400)]
staging: brcm80211: fix checkpatch macro errors.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix various checkpatch spacing errors.
Jason Cooper [Wed, 6 Oct 2010 14:08:02 +0000 (10:08 -0400)]
staging: brcm80211: fix various checkpatch spacing errors.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix 'do not init statics to 0 or NULL'
Jason Cooper [Wed, 6 Oct 2010 14:08:01 +0000 (10:08 -0400)]
staging: brcm80211: fix 'do not init statics to 0 or NULL'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix 'do not init globals to 0 or NULL'
Jason Cooper [Wed, 6 Oct 2010 14:08:00 +0000 (10:08 -0400)]
staging: brcm80211: fix 'do not init globals to 0 or NULL'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'
Jason Cooper [Wed, 6 Oct 2010 14:07:59 +0000 (10:07 -0400)]
staging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: the tree is now kept in git, not quilt
Greg Kroah-Hartman [Wed, 6 Oct 2010 15:18:01 +0000 (08:18 -0700)]
Staging: the tree is now kept in git, not quilt

Update the MAINTAINERS file to show the new location of the staging
development tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: west bridge, block driver change for partition support
David Cross [Wed, 6 Oct 2010 01:50:26 +0000 (18:50 -0700)]
staging: west bridge, block driver change for partition support

This patch fixes an error in the block driver wherein multiple
partitions in an mmc card were not detected correctly due to
incorrect alloc_disk arguments.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: west bridge, addition of common lock on cyasdevice
David Cross [Wed, 6 Oct 2010 01:48:08 +0000 (18:48 -0700)]
staging: west bridge, addition of common lock on cyasdevice

This patch adds and initializes a common lock to
cyasdevice module. This is meant to be used in order
to avoid error scenarios where the device module
could be called by both the block and gadget modules
at the same time.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: remove duplicated file, bcmwifi.c
nohee ko [Wed, 6 Oct 2010 02:08:36 +0000 (19:08 -0700)]
staging: brcm80211: remove duplicated file, bcmwifi.c

Remove duplicated file, bcmwifi.c from brcmfmac.
bcmwifi.c under brcm80211/util/ will be shared
between softmac & fullmac drivers

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: west bridge cyasgadget, removal of " " before ";"
David Cross [Wed, 6 Oct 2010 01:44:50 +0000 (18:44 -0700)]
staging: west bridge cyasgadget, removal of " " before ";"

This patch fixes removes all of the the " ;"'s in the west bridge
cyasgadget driver and instead replaces them with ";" only.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - update Kconfig to select IOMMU module
Fernando Guzman Lugo [Wed, 6 Oct 2010 00:20:59 +0000 (19:20 -0500)]
staging: tidspbridge - update Kconfig to select IOMMU module

IOMMU module most be selected when using tidspbridge, because
now tidsbridge depends on iommu module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: bug fix for n_ssids usage and update drv_info
nohee ko [Wed, 6 Oct 2010 01:05:04 +0000 (18:05 -0700)]
staging: brcm80211: bug fix for n_ssids usage and update drv_info

-update drv_info so it's visible in "ethtool -i" output
-remove n_ssids usage. Fixes nullptr deref bug seen before.

Signed-off-by: Grant Grundler <grundler@chromium.org>
Acked-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: bcmutils.[ch]: purge unused funcs
Brett Rudley [Tue, 5 Oct 2010 23:49:47 +0000 (16:49 -0700)]
staging: brcm80211: bcmutils.[ch]: purge unused funcs

Get rid of unused functions in bcmutils.[ch]. Note that bcmutils.h is shared between
fullmac and softmac

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: autofs3: get the TODO file right the third time
Greg Kroah-Hartman [Tue, 5 Oct 2010 23:24:17 +0000 (16:24 -0700)]
staging: autofs3: get the TODO file right the third time

This is what Arnd wanted the file to say.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove dmm custom module
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:44 +0000 (15:35 -0500)]
staging: tidspbridge - remove dmm custom module

Dmm custom module is not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - deprecate reserve/unreserve_memory funtions
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:43 +0000 (15:35 -0500)]
staging: tidspbridge - deprecate reserve/unreserve_memory funtions

Now what iommu memory usage is kept track by iommu module
the functions reserve/unreserve_memory are not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove reserved memory clean up
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:42 +0000 (15:35 -0500)]
staging: tidspbridge - remove reserved memory clean up

Now iommv module keeps track of iommu memory used,
we do not need resource cleanup for reserved
memories anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove dw_dmmu_base from cfg_hostres struct
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:41 +0000 (15:35 -0500)]
staging: tidspbridge: remove dw_dmmu_base from cfg_hostres struct

We don't need to map iva2 iommu register base address
anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - move all iommu related code to a new file
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:40 +0000 (15:35 -0500)]
staging: tidspbridge - move all iommu related code to a new file

Create dsp-mmu module and moves all the iommu code related to
this module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove hw directory
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:39 +0000 (15:35 -0500)]
staging: tidspbridge - remove hw directory

hw directory was only being used for custom iommu implementation
APIs, so after the iommu module migration this directory is not
needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - fix mmufault support
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:38 +0000 (15:35 -0500)]
staging: tidspbridge - fix mmufault support

With changes for iommu migration mmufault report and dsp track
dump is broken, this patch fixes that.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove custom mmu code from tiomap3430.c
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:37 +0000 (15:35 -0500)]
staging: tidspbridge - remove custom mmu code from tiomap3430.c

This patch removes all the custom mmu code remaining in
tiomap3430.c which is not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - rename bridge_brd_mem_map/unmap to a proper name
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:36 +0000 (15:35 -0500)]
staging: tidspbridge - rename bridge_brd_mem_map/unmap to a proper name

Now these functions only map user space addresses to dsp virtual
addresses, so now the functions have a more meaningful name.
Also now user_to_dsp_map returns the mapped address.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - move shared memory iommu maps to tiomap3430.c
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:35 +0000 (15:35 -0500)]
staging: tidspbridge - move shared memory iommu maps to tiomap3430.c

Now iommu maps of shared memory segments are done in
bridge_brd_start and unmaped in bridge_brd_stop.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: sst: Intel SST audio driver
Vinod Koul [Tue, 5 Oct 2010 15:25:17 +0000 (16:25 +0100)]
Staging: sst: Intel SST audio driver

This is the Intel SST audio driver.

As compared to the previous versions it has all the printks and other stuff
noted cleaned up and more hardware support. The Aava support is disabled in
this patch (is_aava resolves to 0) because the Aava board detection logic
is not yet upstream.

The driver itself is a combination of a traditional ALSA driver and a
hardware assisted offload driver which can play audio while the processor
is asleep but which can't do all the more interactive stuff.

In the general case most software would use the ALSA interface, but the
other interface is needed for certain classes of use such as music playback
on highly power consumption sensitive devices.

This is going to staging primarily because it depends upon the staging memrar
driver.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Harsha Priya <priya.harsha@intel.com>
[Merged together and tweaked for -next]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: olpc_dcon: mark the driver as CONFIG_BROKEN for now
Greg Kroah-Hartman [Tue, 5 Oct 2010 19:08:48 +0000 (12:08 -0700)]
Staging: olpc_dcon: mark the driver as CONFIG_BROKEN for now

It doesn't build yet, as it depends on some changes that are not yet
in the tree, so mark it as BROKEN for now until that gets resolved.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: use omap_dsp_platform_data
Felipe Contreras [Mon, 4 Oct 2010 16:09:15 +0000 (19:09 +0300)]
staging: tidspbridge: use omap_dsp_platform_data

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoomap: add dsp platform device
Felipe Contreras [Mon, 4 Oct 2010 16:09:14 +0000 (19:09 +0300)]
omap: add dsp platform device

Otherwise tidspbridge cannot work.

It looks like this was dropped in the conversion to staging. I took the
liberty of doing some cleaning up.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192u: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:02 +0000 (12:38 -0400)]
Staging: rtl8192u: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rt2860: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:56 +0000 (12:37 -0400)]
Staging: rt2860: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: usbip: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:05 +0000 (12:38 -0400)]
Staging: usbip: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dream: qdsp5: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:54 +0000 (12:37 -0400)]
Staging: dream: qdsp5: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: easycap: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:55 +0000 (12:37 -0400)]
Staging: easycap: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rt2870: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:57 +0000 (12:37 -0400)]
Staging: rt2870: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dream: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:52 +0000 (12:37 -0400)]
Staging: dream: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dream: camera: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:53 +0000 (12:37 -0400)]
Staging: dream: camera: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: cxt1e1: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:51 +0000 (12:37 -0400)]
Staging: cxt1e1: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8187se: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:58 +0000 (12:37 -0400)]
Staging: rtl8187se: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: tm6000: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:04 +0000 (12:38 -0400)]
Staging: tm6000: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:59 +0000 (12:37 -0400)]
Staging: rtl8192e: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192u: ieee80211: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:03 +0000 (12:38 -0400)]
Staging: rtl8192u: ieee80211: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlags49_h25: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:09 +0000 (12:38 -0400)]
Staging: wlags49_h25: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6656: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:07 +0000 (12:38 -0400)]
Staging: vt6656: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6655: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:06 +0000 (12:38 -0400)]
Staging: vt6655: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlags49_h2: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:08 +0000 (12:38 -0400)]
Staging: wlags49_h2: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: cx25821: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:50 +0000 (12:37 -0400)]
Staging: cx25821: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: Address mailing list feedback by Jonathan Cameron
Michael Hennerich [Fri, 1 Oct 2010 14:41:52 +0000 (16:41 +0200)]
staging: iio: adc: Address mailing list feedback by Jonathan Cameron

Add missing new line
Fix typo

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: Enable driver support for ad799x AD converters
Michael Hennerich [Fri, 1 Oct 2010 14:41:51 +0000 (16:41 +0200)]
staging: iio: adc: Enable driver support for ad799x AD converters

Driver for ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997 and
ad7998 multichannel ADC.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti-st: mv ti_wilink_st header
Pavan Savoy [Thu, 30 Sep 2010 20:13:30 +0000 (16:13 -0400)]
staging: ti-st: mv ti_wilink_st header

Move the header to a standard linux device driver location.
This should pave the way for other drivers to be moved into the relevant
directories.

ti_wilink_st.h is a common header file used by the TI's shared transport device
driver for WiLink chipsets. Each individual protocol drivers like bluetooth
driver, FM V4L2 driver and GPS drivers will make use of this header.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti-st: drop the __KERNEL__
Pavan Savoy [Thu, 30 Sep 2010 20:13:29 +0000 (16:13 -0400)]
staging: ti-st: drop the __KERNEL__

ti_wilink_st.h had the line discipline number which the user-space
daemon refers to, to install and un-install the line discipline upon
request from the shared transport driver via rfkill device.

On moving this line discipline number to standard location of tty.h
drop the __KERNEL__ flag in the header, since the header file would
no longer be used by user-space.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agotty.h: new ldisc for TI WiLink ST
Pavan Savoy [Thu, 30 Sep 2010 20:13:28 +0000 (16:13 -0400)]
tty.h: new ldisc for TI WiLink ST

Texas Instrument's WiLink7 connectivity devices pack wireless connectivity
technologies like Bluetooth, FM Radio Receiver and Transmitter, GPS and WLAN
into a single die.
The BT, FM and GPS core on the chip are interfaced to application
processors via a single UART.

This line discipline driver allows such different technologies to be used
simultaneous and independent of each other.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>