summaryrefslogtreecommitdiffstats
path: root/drivers/staging
Commit message (Collapse)AuthorAgeFilesLines
* staging: rtl8712: use '%pM' format to print MAC addressAndy Shevchenko2010-09-162-5/+1
| | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: cxt1e1: use '%pMF' format to print MAC addressAndy Shevchenko2010-09-161-3/+2
| | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: vt6655: use '%pM' format to print MAC addressAndy Shevchenko2010-09-162-7/+4
| | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: wlags49_h2: use '%pM' format to print MAC addressAndy Shevchenko2010-09-161-3/+1
| | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rt2860: change plain format of mac address to %pM in *printf()Andy Shevchenko2010-09-1612-67/+30
| | | | | | | | | | | There are many locations where MAC or BSSID is printed. The plain format is used in such places. *printf() in kernel recognizes %pM, %pMF and %pm format parameters to print out 6-byte array as MAC address. This patch changes plain format to custom %pM which is widely used in kernel. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: west bridge: pnand hal fixesDavid Cross2010-09-142-6/+9
| | | | | | | | This patch includes changing some defines, necessary for compilation with the linux-next tree. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: west bridge: cyasgadget, remove file system / vfs callsDavid Cross2010-09-141-42/+0
| | | | | | | | | | This patch remove file system specific (fat_get_block) and vfs calls from the cyasgadget driver. The current implementation expects user space to write the file (open, seek to end, 1 byte write), followed by a call to clear the dirty pages from the the page cache. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: west bridge: block driver api fixDavid Cross2010-09-141-1/+1
| | | | | | | | This patch contains an update for cyasblkdev_queue.c which is needed for the kernel update from 2.6.35 to 2.6.36. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: west bridge: Kconfig fixDavid Cross2010-09-141-5/+24
| | | | | | | | This patch fixes the currently broken Kconfig for west bridge by introducing a dependency on a valid HAL Layer for the driver build. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: fix macro coding style issue in adl_pci9111.cMaurice Dawson2010-09-141-6/+15
| | | | | | | This is a patch that fixes up, macros with multiple statements should be enclosed in a do - while loop, coding style issue in the adl_pci9111.c file found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: check kmalloc() return valueVasiliy Kulikov2010-09-143-5/+13
| | | | | | | | | | kmalloc() may fail, if so drop current packet. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> [sven.eckelmann@gmx.de: Removed new introduced deadlock] Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: removing redundant assignment of skb->devMarek Lindner2010-09-141-4/+1
| | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: Add rcu TODOSven Eckelmann2010-09-141-0/+5
| | | | | | | | | | Paul E. McKenney informed us that rcu is misused by leaking pointers to rcu related elements outside read-side protected critical sections. He also recommended that it should be checked against the rcu checklist. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: Remove currently unused gw_* datastructuresSven Eckelmann2010-09-142-5/+0
| | | | | | | | | gw_list_lock, gw_list and curr_gw are currently unused members of struct bat_priv. They will be readded when gateway support is really implemented. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: Always synchronize rcu's on module shutdownLinus Lüssing2010-09-141-3/+2
| | | | | | | | | | | | | | | | | | | | | During the module shutdown procedure in batman_exit(), a rcu callback is being scheduled (batman_exit -> hardif_remove_interfaces -> hardif_remove_interfae -> call_rcu). However, when the kernel unloads the module, the rcu callback might not have been executed yet, resulting in a "unable to handle kernel paging request" in __rcu_process_callback afterwards, causing the kernel to freeze. The synchronize_net and synchronize_rcu in mesh_free are currently called before the call_rcu in hardif_remove_interface and have no real effect on it. Therefore, we should always flush all rcu callback functions scheduled during the shutdown procedure using synchronize_net. The call to synchronize_rcu can be omitted because synchronize_net already calls it. Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: sca3000 convert byte order of ring buffer dataManuel Stahl2010-09-141-1/+13
| | | | | | Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: sca3000 fix sca3000_[show,store]_ring_bpseManuel Stahl2010-09-141-4/+4
| | | | | | Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: ak8975: Add ak8975 magnetometer sensorAndrew Chew2010-09-143-0/+569
| | | | | | | | | | | | | | | | | | This is for the Asahi Kasei AK8975 3-axis magnetometer. It resides within the magnetometer section of the IIO subsystem, and implements the raw magn_x,y,z_raw attributes, as well as magn_x,y,z_scale attributes for converting to Gauss. Changed to use the magn_x,y,z_scale attributes, and made those attributes give the scale factor to conert to Gauss. Also applied more fixes from feedback. Keeping mode as an unsigned long. I'm going to add proper power management at some point anyway, which would deprecate this attribute. Signed-off-by: Andrew Chew <achew@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: Change GAIN macros to SCALE.Andrew Chew2010-09-141-6/+6
| | | | | | | | | | | | Per email exchange with Jonathan Cameron, GAIN should instead be SCALE, to be consistent with documentation. Resending, since this goes with the 2/2 patch. Signed-off-by: Andrew Chew <achew@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: hv: Convert vmbus driver interface function pointer table to constantHaiyang Zhang2010-09-146-31/+19
| | | | | | | | | | | | | | | | | | Convert vmbus driver interface function pointer table to constant The vmbus interface functions are assigned to a constant - vmbus_ops. Because the vmbus interface function pointer table is converted to a constant variable -- vmbus_ops, the function GetChannelInterface(), VmbusGetChannelInterface() and pointer GetChannelInterface are no longer in use. The deprecated function's work is done by the initialization of the newly added constant variable vmbus_ops. I created the new constant variable vmbus_ops and removed the deprecated function pointer GetChannelInterface in one patch. 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: brcm80211: fix remaining checkpatch errors.Jason Cooper2010-09-142-9/+9
| | | | | | | | Remaining errors are due to the use of typedefs. They should dissappear once the typedefs get cleaned up. Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: trailing whitespace."Jason Cooper2010-09-141-1/+1
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: spaces required around that ..."Jason Cooper2010-09-147-13/+13
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: spaces prohibited around that ':' ..."Jason Cooper2010-09-143-3/+3
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: space required before that ..."Jason Cooper2010-09-141-1/+1
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: space required after that ..."Jason Cooper2010-09-147-23/+26
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: space required after that close brace"Jason Cooper2010-09-142-11/+11
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: space prohibited before ...close square bracket"Jason Cooper2010-09-141-1/+1
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: space prohibited after that ..."Jason Cooper2010-09-1410-23/+23
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: need consistent spacing around '*'"Jason Cooper2010-09-142-6/+6
| | | | | | | | This patch fixes the real errors. The rest are caused by typedefs which will be fixed in a later patch. Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix 'ERROR: "(foo*)" should be "(foo *)"'Jason Cooper2010-09-149-41/+41
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: Macros w/ mult. statements ... do - while loop"Jason Cooper2010-09-142-3/+18
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: Macros w/ complex values ... parenthesis"Jason Cooper2010-09-1413-28/+28
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: do not initialise statics to 0 or NULL"Jason Cooper2010-09-146-10/+10
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: do not initialise globals to 0 or NULL"Jason Cooper2010-09-142-2/+2
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: while should follow close brace '}'"Jason Cooper2010-09-141-2/+1
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: that open brace { ... prev line"Jason Cooper2010-09-148-132/+96
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: trailing statements should be on next line"Jason Cooper2010-09-148-27/+54
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: do not use assignment in if condition"Jason Cooper2010-09-1421-253/+362
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: return is not a function, paren..."Jason Cooper2010-09-1421-284/+284
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix "ERROR: open brace '{' following function dec..."Jason Cooper2010-09-1421-163/+326
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: fix 'ERROR: "foo * bar" should be "foo *bar"'Jason Cooper2010-09-1465-2708/+2708
| | | | | Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: Fix URLs for firmware files.Henry Ptasinski2010-09-141-2/+2
| | | | | Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: use '%pM' format to print MAC addressAndy Shevchenko2010-09-141-4/+1
| | | | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Nohee Ko <noheek@broadcom.com> Cc: linux-wireless@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: Add contact info to TODO list.Henry Ptasinski2010-09-141-0/+6
| | | | | Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: brcm80211: Fix some initialisation failure pathsBen Hutchings2010-09-142-14/+12
| | | | | | | | | | | | | | | Initialise wl_info::tasklet early so that it's safe to tasklet_kill() it in wl_free(). Remove assertions from wl_free() that may not be true in case of initialisation failure. Call wl_release_fw() in case of failure after wl_request_fw(). Don't rely on wl_firmware::fw_cnt in wl_release_fw(). Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: fix Makefile so broadcom driver will actually build.Greg Kroah-Hartman2010-09-081-1/+1
| | | | | | | | | | It would be nice if people tested their patches before sending them to me... Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Brett Rudley <brudley@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Add initial release of brcm80211 - Broadcom 802.11n wireless LAN ↵Henry Ptasinski2010-09-08128-0/+115470
| | | | | | | | | driver. Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Cc: Brett Rudley <brudley@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt6656: use ARRAY_SIZE macro in channel.cNikitas Angelinas2010-09-081-1/+2
| | | | | | | | Replace (sizeof(ChannelRuleTab) / sizeof(ChannelRuleTab[0])) with ARRAY_SIZE(ChannelRuleTab) in drivers/staging/vt6656/channel.c Signed-off-by: Nikitas Angelinas <nikitasangelinas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: fix space coding style issue in adl_pci9111.cMaurice Dawson2010-09-081-95/+98
| | | | | | | | This is a patch to the adl_pci9111.c file that fixes up multiple please, no space for starting a line warnings, found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud