aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAge
* Staging: brcm80211: s/uint16/u16/Greg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove forgotten undefGreg Kroah-Hartman2010-10-07
| | | | | | | | | | 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>
* Staging: brcm80211: wl_cfg80211.c: fix compiler warningsGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove some more macros from linuxver.hGreg Kroah-Hartman2010-10-07
| | | | | | | | | | | | 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>
* Staging: brcm80211: remove unused irq typedefGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove unneeded pm macroGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove some unused macrosGreg Kroah-Hartman2010-10-07
| | | | | | | | | | 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>
* Staging: brcm80211: remove unneeded pci macrosGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove free_netdev wrapperGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove old module macro wrappersGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* Staging: brcm80211: remove MY_INIT_WORK macroGreg Kroah-Hartman2010-10-07
| | | | | | | | | 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>
* staging: hv: Rename camel cased functions in channel.c to lowercaseHaiyang Zhang2010-10-07
| | | | | | | | 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>
* Staging: comedi: file: Removed braces from some statement blocksMaurice Dawson2010-10-07
| | | | | | | Unnecessary braces in some statement blocks Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: remove ';' after while() in macros.Jason Cooper2010-10-07
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: wl_cfg80211.c: fix 'assignment in if condition'Jason Cooper2010-10-07
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ft1000-usb: Add correct procedure for fw image downloading.Marek Belisko2010-10-07
| | | | | | | | 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>
* staging: tidspbridge: bind driver name to device nameOmar Ramirez Luna2010-10-07
| | | | | | | | 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>
* staging: brcm80211: bug fix - connection status reportnohee ko2010-10-07
| | | | | | | | 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>
* staging: brcm80211: removed duplicated file, linux_osl.cnohee ko2010-10-07
| | | | | | | | | 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>
* staging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFTMichael Hennerich2010-10-07
| | | | | | 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>
* staging: iio: adc: ad799x drop in_precision in favor of new in_typeMichael Hennerich2010-10-07
| | | | | | | | | | | | | | | | | -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>
* staging: iio: max1363 fix bug due to scan_element directory move.Jonathan Cameron2010-10-07
| | | | | | | | | | | 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>
* staging: iio: sca3000 fix bug due to scan_element directory move.Jonathan Cameron2010-10-07
| | | | | | | | | | | 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>
* staging: iio: timestamp_en naming typo fix.Jonathan Cameron2010-10-07
| | | | | Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: adc: max1363: remove unused variableMichael Hennerich2010-10-07
| | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0Michael Hennerich2010-10-07
| | | | | | 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>
* misc: ti-st: Kconfig & Makefile for TI_STPavan Savoy2010-10-06
| | | | | | | | | | 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>
* staging: ti-st: move TI_ST from staging to misc/Pavan Savoy2010-10-06
| | | | | | | | | | | | | | | | | | | | | | 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>
* staging: iio: adc: ad799x: Address iio list feedbackMichael Hennerich2010-10-06
| | | | | | | | | | | 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>
* staging: iio: adc: max1363: prevent buffer overflowMichael Hennerich2010-10-06
| | | | | | | | | 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>
* staging: iio: adc: ad799x: prevent buffer overflowMichael Hennerich2010-10-06
| | | | | | | | 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>
* staging: brcm80211: fix checkpatch macro errors.Jason Cooper2010-10-06
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix various checkpatch spacing errors.Jason Cooper2010-10-06
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix 'do not init statics to 0 or NULL'Jason Cooper2010-10-06
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix 'do not init globals to 0 or NULL'Jason Cooper2010-10-06
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'Jason Cooper2010-10-06
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: west bridge, block driver change for partition supportDavid Cross2010-10-05
| | | | | | | | | 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>
* staging: west bridge, addition of common lock on cyasdeviceDavid Cross2010-10-05
| | | | | | | | | | | 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>
* staging: brcm80211: remove duplicated file, bcmwifi.cnohee ko2010-10-05
| | | | | | | | | 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>
* staging: west bridge cyasgadget, removal of " " before ";"David Cross2010-10-05
| | | | | | | | 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>
* staging: tidspbridge - update Kconfig to select IOMMU moduleFernando Guzman Lugo2010-10-05
| | | | | | | | 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>
* staging: brcm80211: bug fix for n_ssids usage and update drv_infonohee ko2010-10-05
| | | | | | | | | -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>
* staging: brcm80211: bcmutils.[ch]: purge unused funcsBrett Rudley2010-10-05
| | | | | | | | 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>
* staging: autofs3: get the TODO file right the third timeGreg Kroah-Hartman2010-10-05
| | | | | | | | | 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>
* staging: tidspbridge - remove dmm custom moduleFernando Guzman Lugo2010-10-05
| | | | | | | 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>
* staging: tidspbridge - deprecate reserve/unreserve_memory funtionsFernando Guzman Lugo2010-10-05
| | | | | | | | 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>
* staging: tidspbridge - remove reserved memory clean upFernando Guzman Lugo2010-10-05
| | | | | | | | | 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>
* staging: tidspbridge: remove dw_dmmu_base from cfg_hostres structFernando Guzman Lugo2010-10-05
| | | | | | | | 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>
* staging: tidspbridge - move all iommu related code to a new fileFernando Guzman Lugo2010-10-05
| | | | | | | | 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>
* staging: tidspbridge - remove hw directoryFernando Guzman Lugo2010-10-05
| | | | | | | | | 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>