firefly-linux-kernel-4.4.55.git
14 years agomemrar: Address kernel oops during resource cleanup
Ossama Othman [Mon, 19 Jul 2010 08:32:26 +0000 (09:32 +0100)]
memrar: Address kernel oops during resource cleanup

Some delayed initialization is performed in this driver.  Make sure
resources that are used during driver clean-up (e.g. during driver's
release() function) are fully initialized before first use.  This is
particularly important for the case when the delayed initialization
isn't completed, leaving behind a partially initialized driver.

Such a scenario can occur when RAR is not available on the platform,
and the driver is release()d.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: batman-adv: Update TODO with new points from review
Sven Eckelmann [Tue, 20 Jul 2010 22:25:22 +0000 (00:25 +0200)]
Staging: batman-adv: Update TODO with new points from review

David S. Miller provided some new ideas and found problems in his review
20100719.212625.255369607.davem@davemloft.net. These issues must be
resolved before it can be merged into net.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: batman-adv: don't use default init_module/cleanup_module function names
Randy Dunlap [Tue, 20 Jul 2010 22:25:21 +0000 (00:25 +0200)]
Staging: batman-adv: don't use default init_module/cleanup_module function names

Fix two staging drivers to use module_init()/module_exit()
instead of default init_module() and cleanup_module() function names
so that there are no name conflicts when both are built-in.

drivers/staging/dt3155/built-in.o: In function `cleanup_module':
(.text+0xc0): multiple definition of `cleanup_module'
drivers/staging/batman-adv/built-in.o:(.text+0x330): first defined here
drivers/staging/dt3155/built-in.o: In function `init_module':
(.text+0xe60): multiple definition of `init_module'
drivers/staging/batman-adv/built-in.o:(.text+0x400): first defined here

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
[sven.eckelmann@gmx.de: Mark module init and exit functions as static]
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: batman-adv: Don't increment stats of foreign device
Sven Eckelmann [Tue, 20 Jul 2010 22:25:20 +0000 (00:25 +0200)]
Staging: batman-adv: Don't increment stats of foreign device

The receive hook for batman-adv ethernet frames tried to get the last
device which processed the skb before us. It only used that information
to update the rx_bytes and rx_packets stat of that foreign device which
already has updated it using its own receive functions.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: iio: add digital compass hmc5843 driver
Shubhrajyoti D [Sat, 17 Jul 2010 13:02:52 +0000 (18:32 +0530)]
Staging: iio: add digital compass hmc5843 driver

Adding support for the Honeywell HMC5843. The interface to the device is
i2c

TODO:
Adding the documentation

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: comedi: formatting of pointers in printk()
Kulikov Vasiliy [Wed, 14 Jul 2010 18:05:17 +0000 (22:05 +0400)]
staging: comedi: formatting of pointers in printk()

Use %p instead of %08x in printk().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: msm: formatting of pointers in printk()
Kulikov Vasiliy [Wed, 14 Jul 2010 18:05:58 +0000 (22:05 +0400)]
staging: msm: formatting of pointers in printk()

Use %p instead of %08x in printk().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: David Brown <davidb@codeaurora.org>
Acked-by: Daniel Walker <dwalker@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ti-st: give proto drivers context
Pavan Savoy [Thu, 22 Jul 2010 10:32:07 +0000 (05:32 -0500)]
Staging: ti-st: give proto drivers context

protocol drivers such as BT, FM and GPS when registering
to ST now provide their own private data which they expect
when their functions namely registration completed & receive
are called.
Also upon tty_close, set protos_registered count to 0, although
all protocols are marked un-registered.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ti-st: cleanup code comments
Pavan Savoy [Thu, 22 Jul 2010 10:32:06 +0000 (05:32 -0500)]
Staging: ti-st: cleanup code comments

cleanup the code commenting in the headers/structures,
also cleanup few inline commenting in the function

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ti-st: smarten, reduce logs
Pavan Savoy [Thu, 22 Jul 2010 10:32:05 +0000 (05:32 -0500)]
Staging: ti-st: smarten, reduce logs

Replace looping on the data buffers and printk-ing by
print_hex_dump.
Also replace most of the pr_info by pr_debug to reduce logging at
default loglevels (7 in our case..)

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ti-st: make use of linux err codes
Pavan Savoy [Wed, 14 Jul 2010 13:21:12 +0000 (08:21 -0500)]
Staging: ti-st: make use of linux err codes

remove custom error code definitions from the header and
make use of the agreed upon linux error codes.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: don't use own isxdigit() method
Andy Shevchenko [Thu, 22 Jul 2010 16:57:09 +0000 (19:57 +0300)]
staging: rtl8192su: don't use own isxdigit() method

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: added ioctl[SIOCSIWPMKSA] implementation
Florian Schilhabel [Thu, 15 Jul 2010 17:04:58 +0000 (19:04 +0200)]
staging: rtl8192su: added ioctl[SIOCSIWPMKSA] implementation

errors like:
ioctl[SIOCSIWPMKSA]: Invalid argument
should now be gone.

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: merge changes in rtl819x_HTProc.c; still incomplete
Florian Schilhabel [Thu, 15 Jul 2010 17:04:46 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes in rtl819x_HTProc.c; still incomplete

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: merge changes into ieee80211_rx_ADDBARsp()
Florian Schilhabel [Thu, 15 Jul 2010 17:04:36 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes into ieee80211_rx_ADDBARsp()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: merge updated ieee80211_crypto_ops()
Florian Schilhabel [Thu, 15 Jul 2010 17:04:24 +0000 (19:04 +0200)]
staging: rtl8192su: merge updated ieee80211_crypto_ops()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: merge changes in ieee80211_tkip_data()
Florian Schilhabel [Thu, 15 Jul 2010 17:04:10 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes in ieee80211_tkip_data()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: merge changes in ieee80211_authentication_req()
Florian Schilhabel [Thu, 15 Jul 2010 17:04:00 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes in ieee80211_authentication_req()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: cleanup in ieee80211_softmac.c
Florian Schilhabel [Thu, 15 Jul 2010 17:03:49 +0000 (19:03 +0200)]
staging: rtl8192su: cleanup in ieee80211_softmac.c

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl819su: merge changes in softmac_ps_mgmt_xmit()
Florian Schilhabel [Thu, 15 Jul 2010 17:03:38 +0000 (19:03 +0200)]
staging: rtl819su: merge changes in softmac_ps_mgmt_xmit()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl819su: update MgntQuery_MgntFrameTxRate()
Florian Schilhabel [Thu, 15 Jul 2010 17:03:27 +0000 (19:03 +0200)]
staging: rtl819su: update MgntQuery_MgntFrameTxRate()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl819su: update probe_rq_parse()
Florian Schilhabel [Thu, 15 Jul 2010 17:03:15 +0000 (19:03 +0200)]
staging: rtl819su: update probe_rq_parse()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl819su: ieee80211_associate_procedure_wq() update
Florian Schilhabel [Thu, 15 Jul 2010 17:02:59 +0000 (19:02 +0200)]
staging: rtl819su: ieee80211_associate_procedure_wq() update

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: remove a section mismatch warning
Florian Schilhabel [Thu, 15 Jul 2010 17:02:31 +0000 (19:02 +0200)]
staging: rtl8192su: remove a section mismatch warning

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: merge changes in r8192U_wx.c
Florian Schilhabel [Wed, 14 Jul 2010 12:47:53 +0000 (14:47 +0200)]
staging: rtl8192su: merge changes in r8192U_wx.c

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: update TODO
Florian Schilhabel [Wed, 14 Jul 2010 12:47:40 +0000 (14:47 +0200)]
staging: rtl8192su: update TODO

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: various updates
Florian Schilhabel [Wed, 14 Jul 2010 12:47:27 +0000 (14:47 +0200)]
staging: rtl8192su: various updates

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl819esu: cleanup; r8192S_Efuse.c, r8192S_Efuse.h
Florian Schilhabel [Wed, 14 Jul 2010 12:47:15 +0000 (14:47 +0200)]
staging: rtl819esu: cleanup; r8192S_Efuse.c, r8192S_Efuse.h

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: updated r8192SU_HWImg.c, r8192SU_HWImg.h
Florian Schilhabel [Wed, 14 Jul 2010 12:47:04 +0000 (14:47 +0200)]
staging: rtl8192su: updated r8192SU_HWImg.c, r8192SU_HWImg.h

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: remove some unused code, cleanup
Florian Schilhabel [Wed, 14 Jul 2010 12:46:48 +0000 (14:46 +0200)]
staging: rtl8192su: remove some unused code, cleanup

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: more code cleanup
Florian Schilhabel [Wed, 14 Jul 2010 12:46:35 +0000 (14:46 +0200)]
staging: rtl8192su: more code cleanup

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: code cleanup
Florian Schilhabel [Wed, 14 Jul 2010 12:46:22 +0000 (14:46 +0200)]
staging: rtl8192su: code cleanup

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: cleanup in ieee80211_tx.c, ieee80211_wx.c
Florian Schilhabel [Wed, 14 Jul 2010 12:46:09 +0000 (14:46 +0200)]
staging: rtl8192su: cleanup in ieee80211_tx.c, ieee80211_wx.c

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: clean ieee80211_crypt.c
Florian Schilhabel [Wed, 14 Jul 2010 12:45:57 +0000 (14:45 +0200)]
staging: rtl8192su: clean ieee80211_crypt.c

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: clean dot11d.[c|h]
Florian Schilhabel [Wed, 14 Jul 2010 12:45:44 +0000 (14:45 +0200)]
staging: rtl8192su: clean dot11d.[c|h]

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: some work on dm_check_edca_turbo()
Florian Schilhabel [Wed, 14 Jul 2010 12:45:32 +0000 (14:45 +0200)]
staging: rtl8192su: some work on dm_check_edca_turbo()

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: update r8192U.h
Florian Schilhabel [Wed, 14 Jul 2010 12:45:17 +0000 (14:45 +0200)]
staging: rtl8192su: update r8192U.h

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: r8192U.h, clean header
Florian Schilhabel [Wed, 14 Jul 2010 12:44:34 +0000 (14:44 +0200)]
staging: rtl8192su: r8192U.h, clean header

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: r8192S_phy.c, remove unused code; 2nd part
Florian Schilhabel [Wed, 14 Jul 2010 12:44:18 +0000 (14:44 +0200)]
staging: rtl8192su: r8192S_phy.c, remove unused code; 2nd part

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: r8192S_phy.c, remove unused code
Florian Schilhabel [Wed, 14 Jul 2010 12:44:00 +0000 (14:44 +0200)]
staging: rtl8192su: r8192S_phy.c, remove unused code

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl819ssu: clean r8192S_hw.h
Florian Schilhabel [Wed, 14 Jul 2010 12:43:44 +0000 (14:43 +0200)]
staging: rtl819ssu: clean r8192S_hw.h

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: update to r8192S_Efuse.c, r8192xU_cmdpkt.c
Florian Schilhabel [Wed, 14 Jul 2010 12:43:26 +0000 (14:43 +0200)]
staging: rtl8192su: update to r8192S_Efuse.c, r8192xU_cmdpkt.c

cosmetics, various updates to reflect realteks upstream changes.

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: cosmetics in r8192S_Efuse.c
Florian Schilhabel [Wed, 14 Jul 2010 12:43:08 +0000 (14:43 +0200)]
staging: rtl8192su: cosmetics in r8192S_Efuse.c

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: update rtl819x_set_channel_map()
Florian Schilhabel [Wed, 14 Jul 2010 12:42:43 +0000 (14:42 +0200)]
staging: rtl8192su: update rtl819x_set_channel_map()

This function is now on par with the latest realtek drivers.

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: rtl8192su: fix a compiler warning
Florian Schilhabel [Wed, 14 Jul 2010 12:42:25 +0000 (14:42 +0200)]
staging: rtl8192su: fix a compiler warning

fix for:
drivers/staging/rtl8192su/r8192U_core.c: In function â€˜rtl8192SU_MacConfigAfterFwDownload’:
drivers/staging/rtl8192su/r8192U_core.c:4403:24: warning: comparison between â€˜rtl819xUsb_loopback_e’ and â€˜enum _RTL8192SUSB_LOOPBACK’
drivers/staging/rtl8192su/r8192U_core.c:4405:30: warning: comparison between â€˜rtl819xUsb_loopback_e’ and â€˜enum _RTL8192SUSB_LOOPBACK’

Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: comedi: Cleanup style issues in adl_pci9111.c
Mark [Tue, 13 Jul 2010 16:24:17 +0000 (17:24 +0100)]
Staging: comedi: Cleanup style issues in adl_pci9111.c

This patch fixes some coding style issues in adl_pci9111.c from checkpatch.pl

Signed-off-by: Mark Rankilor <reodge@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: code cleanup in device_netdev_ops' device_xmit()
Andres More [Mon, 12 Jul 2010 22:28:25 +0000 (19:28 -0300)]
staging: vt6656: code cleanup in device_netdev_ops' device_xmit()

Lindented, cleared checkpatch findings and simplified error handling.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: replaced MAX_PACKET_LEN with ETH_FRAME_LEN
Andres More [Mon, 12 Jul 2010 21:28:49 +0000 (18:28 -0300)]
staging: vt6656: replaced MAX_PACKET_LEN with ETH_FRAME_LEN

Replaced custom macro with one from include/linux/if_ether.h.
Also removed MAX_LOOKAHEAD_SIZE as it is not used elsewhere.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: replaced MIN_PACKET_LEN with ETH_ZLEN
Andres More [Mon, 12 Jul 2010 21:17:08 +0000 (18:17 -0300)]
staging: vt6656: replaced MIN_PACKET_LEN with ETH_ZLEN

Removed custom macro with one from include/linux/if_ether.h.
Also removed MIN_DATA_LEN as it is not used elsewhere.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: replaced MAX_DATA_LEN with ETH_DATA_LEN
Andres More [Mon, 12 Jul 2010 19:45:58 +0000 (16:45 -0300)]
staging: vt6656: replaced MAX_DATA_LEN with ETH_DATA_LEN

Removed custom macro with one from include/linux/if_ether.h.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: replaced U_CRC_LEN with ETH_FCS_LEN
Andres More [Mon, 12 Jul 2010 19:28:32 +0000 (16:28 -0300)]
staging: vt6656: replaced U_CRC_LEN with ETH_FCS_LEN

Removed custom macro with one from include/linux/if_ether.h.
FCS is an Ethernet field that holds the CRC value.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed Calcu_LinkQual definition
Andres More [Mon, 12 Jul 2010 17:24:48 +0000 (14:24 -0300)]
staging: vt6656: removed Calcu_LinkQual definition

Removed an always defined macro, perhaps used to patch the driver

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed WPA_SM_Transtatus definition
Andres More [Mon, 12 Jul 2010 17:11:27 +0000 (14:11 -0300)]
staging: vt6656: removed WPA_SM_Transtatus definition

Removed an always defined macro, perhaps used to patch the driver

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed update_BssList definition
Andres More [Mon, 12 Jul 2010 17:03:02 +0000 (14:03 -0300)]
staging: vt6656: removed update_BssList definition

Removed an always defined macro, perhaps used to patch the driver

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed Adhoc_STA definition
Andres More [Mon, 12 Jul 2010 16:55:43 +0000 (13:55 -0300)]
staging: vt6656: removed Adhoc_STA definition

Removed an always defined macro, perhaps used to patch the driver

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed Safe_Close definition
Andres More [Mon, 12 Jul 2010 16:47:47 +0000 (13:47 -0300)]
staging: vt6656: removed Safe_Close definition

Removed an always defined macro, perhaps used to patch the driver

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: code cleanup in vt6656 DMA TX
Andres More [Mon, 12 Jul 2010 16:10:27 +0000 (13:10 -0300)]
staging: vt6656: code cleanup in vt6656 DMA TX

Lindented, removed unused variables and cleared checkpatch warnings.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: code cleanup in vt6656_probe()
Andres More [Mon, 12 Jul 2010 15:40:01 +0000 (12:40 -0300)]
staging: vt6656: code cleanup in vt6656_probe()

Lindented, cleared checkpatch warnings and removed legacy comments.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: vt6656: removed '#if 1'/'#if 0' definitions
Andres More [Mon, 12 Jul 2010 15:12:25 +0000 (12:12 -0300)]
staging: vt6656: removed '#if 1'/'#if 0' definitions

Removed code guarded by always false definitions.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: lis3l02dq: use iio_sw_ring_helper_state and funcs
Jonathan Cameron [Sun, 11 Jul 2010 15:39:19 +0000 (16:39 +0100)]
staging: iio: lis3l02dq: use iio_sw_ring_helper_state and funcs

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Add iio_sw_ring_helper_state and functions to cover common case.
Jonathan Cameron [Sun, 11 Jul 2010 15:39:18 +0000 (16:39 +0100)]
staging: iio: Add iio_sw_ring_helper_state and functions to cover common case.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Make extensive use of iio_sw_ring_preenable
Jonathan Cameron [Sun, 11 Jul 2010 15:39:17 +0000 (16:39 +0100)]
staging: iio: Make extensive use of iio_sw_ring_preenable

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Add a bits per element element to ring_generic allowing a general ring_...
Barry Song [Sun, 11 Jul 2010 15:39:16 +0000 (16:39 +0100)]
staging: iio: Add a bits per element element to ring_generic allowing a general ring_sw_preenable_function.

Signed-off-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Fix scan_element naming issue
Jonathan Cameron [Sun, 11 Jul 2010 15:39:15 +0000 (16:39 +0100)]
staging: iio: Fix scan_element naming issue

The addition of a number to the scan_element names caused
an issue in drivers that used either #define or an enum
to provide the number. Before this fix names like
ADIS16350_ACCEL_X_accel_x_en occur rather than 5_accel_x_en.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Add stubs for iio_ring_buffer_[un]register and equivalent driver stubs
Jonathan Cameron [Sun, 11 Jul 2010 15:39:14 +0000 (16:39 +0100)]
staging: iio: Add stubs for iio_ring_buffer_[un]register and equivalent driver stubs

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: imu: allow adis16300 and adis16400 to build without ring buffer support.
Jonathan Cameron [Sun, 11 Jul 2010 15:39:13 +0000 (16:39 +0100)]
staging: iio: imu: allow adis16300 and adis16400 to build without ring buffer support.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: replace combine_8_to_16 with be16_to_cpup where possible.
Jonathan Cameron [Sun, 11 Jul 2010 15:39:12 +0000 (16:39 +0100)]
staging: iio: replace combine_8_to_16 with be16_to_cpup where possible.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: remove timestamp field from trigger and pass instead through pollfuncs
Jonathan Cameron [Sun, 11 Jul 2010 15:39:11 +0000 (16:39 +0100)]
staging: iio: remove timestamp field from trigger and pass instead through pollfuncs

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Add iio_triggered_ring postenable and predisable + use in drivers
Jonathan Cameron [Sun, 11 Jul 2010 15:39:10 +0000 (16:39 +0100)]
staging: iio: Add iio_triggered_ring postenable and predisable + use in drivers

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Add and convert drivers to use iio_alloc_pollfunc
Jonathan Cameron [Sun, 11 Jul 2010 15:39:09 +0000 (16:39 +0100)]
staging: iio: Add and convert drivers to use iio_alloc_pollfunc

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: Use kasprintf to allocate and fill trig->name
Jonathan Cameron [Sun, 11 Jul 2010 15:39:08 +0000 (16:39 +0100)]
staging: iio: Use kasprintf to allocate and fill trig->name

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: panel: fix memory leak
Kulikov Vasiliy [Mon, 12 Jul 2010 14:48:24 +0000 (18:48 +0400)]
Staging: panel: fix memory leak

panel_bind_key() must free allocated memory.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: panel: change own pieces of code by strtoul()
Andy Shevchenko [Thu, 22 Jul 2010 16:57:08 +0000 (19:57 +0300)]
staging: panel: change own pieces of code by strtoul()

We have nice method simple_strtoul() to convert string to numbers which
could be used here.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: usbip: fix memory leak
Kulikov Vasiliy [Mon, 12 Jul 2010 14:48:46 +0000 (18:48 +0400)]
staging: usbip: fix memory leak

sdev should be freed if stub_add_files() failed.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: line6: fix leaks in line6_probe()
Kulikov Vasiliy [Tue, 13 Jul 2010 11:22:46 +0000 (15:22 +0400)]
Staging: line6: fix leaks in line6_probe()

If error occurs line6_probe() must put interface and usbdev that were
got before.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: autoconvert trivial BKL users to private mutex
Arnd Bergmann [Sun, 11 Jul 2010 21:18:52 +0000 (23:18 +0200)]
Staging: autoconvert trivial BKL users to private mutex

All these files use the big kernel lock in a trivial
way to serialize their private file operations,
typically resulting from an earlier semi-automatic
pushdown from VFS.

None of these drivers appears to want to lock against
other code, and they all use the BKL as the top-level
lock in their file operations, meaning that there
is no lock-order inversion problem.

Consequently, we can remove the BKL completely,
replacing it with a per-file mutex in every case.
Using a scripted approach means we can avoid
typos.

file=$1
name=$2
if grep -q lock_kernel ${file} ; then
    if grep -q 'include.*linux.mutex.h' ${file} ; then
            sed -i '/include.*<linux\/smp_lock.h>/d' ${file}
    else
            sed -i 's/include.*<linux\/smp_lock.h>.*$/include <linux\/mutex.h>/g' ${file}
    fi
    sed -i ${file} \
        -e "/^#include.*linux.mutex.h/,$ {
                1,/^\(static\|int\|long\)/ {
                     /^\(static\|int\|long\)/istatic DEFINE_MUTEX(${name}_mutex);

} }"  \
    -e "s/\(un\)*lock_kernel\>[ ]*()/mutex_\1lock(\&${name}_mutex)/g" \
    -e '/[      ]*cycle_kernel_lock();/d'
else
    sed -i -e '/include.*\<smp_lock.h\>/d' ${file}  \
                -e '/cycle_kernel_lock()/d'
fi

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: easycap: Upsample microphone audio
Mike Thomas [Sun, 11 Jul 2010 09:54:51 +0000 (10:54 +0100)]
Staging: easycap: Upsample microphone audio

Upsampling from 8000 Hz mono to 32000 Hz stereo improves audio/video
synchronization when userspace programs adopt default buffering.  This
is an experimental feature.

Signed-off-by: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: easycap: Replace some global variables
Mike Thomas [Sun, 11 Jul 2010 09:51:13 +0000 (10:51 +0100)]
Staging: easycap: Replace some global variables

New members of struct easycap take the place of undesirable global variables.

Signed-off-by: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: slicoss: kill functions prototypes and reorder functions
Denis Kirjanov [Sat, 10 Jul 2010 07:12:46 +0000 (07:12 +0000)]
Staging: slicoss: kill functions prototypes and reorder functions

Reorder functions to kill their prototypes.

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dt3155: use the fbuffer pointer instead of looking it up
H Hartley Sweeten [Fri, 9 Jul 2010 17:13:36 +0000 (10:13 -0700)]
Staging: dt3155: use the fbuffer pointer instead of looking it up

Instead of passing the minor number and having to look up the fbuffer, just
pass the fbuffer directly to the buffer management code.

Also, to make the code more consistent, change the push_empty() call so
that the fbuffer is passed as the first parameter.

Prototype the printques routine to avoid having to declare it as extern.

Cleanup some of the comments in dt3155_isr.h.

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: check kmalloc() result
Kulikov Vasiliy [Fri, 16 Jul 2010 16:14:11 +0000 (20:14 +0400)]
staging: tidspbridge: check kmalloc() result

If kmalloc() fails then exit with -ENOMEM.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove RET_OK RET_FAIL
Nishanth Menon [Mon, 12 Jul 2010 22:56:03 +0000 (17:56 -0500)]
staging: tidspbridge: remove RET_OK RET_FAIL

RET_OK is 0 and RET_FAIL is a -1, replace these custom returns with
a standard errno

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove custom typedef reg_uword32
Nishanth Menon [Mon, 12 Jul 2010 22:56:02 +0000 (17:56 -0500)]
staging: tidspbridge: remove custom typedef reg_uword32

use readl, writel to get and set the register instead.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove std.h
Nishanth Menon [Mon, 12 Jul 2010 22:56:01 +0000 (17:56 -0500)]
staging: tidspbridge: remove std.h

std.h introduces _TI_ _FLOAT_ _FIXED_ _TARGET_ ARG_TO_INT ARG_TO_PTR
which are no longer being used anywhere. we dont really need the
custom std.h header. remove it from the repo. where we need types,
introduce standard types.h

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: no need for custom NULL
Nishanth Menon [Mon, 12 Jul 2010 22:56:00 +0000 (17:56 -0500)]
staging: tidspbridge: no need for custom NULL

kernel has it's own NULL define, we dont need to introduce our own
custom NULL type!

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove custom TRUE FALSE
Nishanth Menon [Mon, 12 Jul 2010 22:55:59 +0000 (17:55 -0500)]
staging: tidspbridge: remove custom TRUE FALSE

bool has standard true and false, we dont need to introduce
our own TRUE and FALSE macros.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: make variables in prototypes match within functions definitions
Rene Sapiens [Sat, 10 Jul 2010 02:24:09 +0000 (21:24 -0500)]
staging: ti dspbridge: make variables in prototypes match within functions definitions

This patch renames the variables in the parameter lists and in the function
definitions to make them match.

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:08 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
validBit to valid_bit
victimEntryNum to victim_entry_num
virtualAddr to virtual_addr
xType to xtype
actualValue to actual_value
EASIL1_MMUMMU_IRQSTATUSReadRegister32 to easil1_mmummu_irqstatus_read_register32
EASIL1_MMUMMU_LOCKBaseValueWrite32 to easil1_mmummu_lock_base_value_write32
easiNum to easi_num
expectedValue to expected_value
invalidValue to invalid_value
L1_base to l1_base
L2_base to l2_base
lower16Bits to lower16_bits
lower8Bits to lower8_bits
lowerMiddle8Bits to lower_middle8_bits
lowerUpper8Bits to lower_upper8_bits
maxValidValue to max_valid_value
minValidValue to min_valid_value
newValue to new_value
returnCodeIfMismatch to return_code_if_mismatch
spyCodeIfMisMatch to spy_code_if_mis_match
upper16Bits to upper16_bits
upper8Bits to upper8_bits
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case.
Rene Sapiens [Sat, 10 Jul 2010 02:24:07 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case.

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
ulBrdState to brd_state
ulChnl to chnl
ulDspAddr to dsp_add
ulDspDestAddr to dsp_dest_addr
ulDspLoadAddr to dsp_load_addr
ulDspRunAddr to dsp_run_addr
ulDspSrcAddr to dsp_src_addr
ulMapAttrs to map_attr
ulMemType to mem_type
ulRMSFxn to rms_fxn
ulStatus to ret
ulVirtAddr to virt_addr
uNumDesc to num_desc
uNumToDSP to num_to_dsp
uPaSize to pa_size
uPhase to phase
uSegId to segm_id
uStream1 to stream1
uStream2 to stream2
uZId to zid
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:06 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
segmentId to segmnt_id
SetPageDirty to set_page_dirty
sizeInBytes to size_in_bytes
sleepCode to sleep_code
Status to status
symName to sym_name
szVar to sz_var
Trapped_Args to trapped_args
TTBPhysAddr to ttb_phys_addr
uChirps to chirps
uChnlId to ch_id
uChnlID to ch_id
uContentSize to cont_size
uDDMAChnlId to ddma_chnl_id
uEvents to events
ulAlign to align_mask
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:05 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
puLen to len
pulEntry to entry_pt
pulFxnAddr to fxn_addr
pulId to chan_id
pulSegId to sgmt_id
pVaBuf to va_buf
pVirtualAddress to virtual_address
pwMbVal to mbx_val
pWord to word
pXlatorAttrs to xlator_attrs
registerFxn to register_fxn
rootPersistent to root_prstnt
sectionData to section_data
sectionInfo to section_info
sectionName to section_name
sectName to sec_name
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:04 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
pstrFxn to str_fxn
pstrLibName to str_lib_name
pstrSect to str_sect
pstrSym to str_sym
pstrZLFileName to str_zl_file_name
pstrZLFile to str_zl_file
pszCoffPath to sz_coff_path
pszMode to sz_mode
pszName to sz_name
pszSectName to sz_sect_name
pszUuid to sz_uuid
pszZlDllName to sz_zl_dll_name
puAddr to addr
pulAddr to addr
pulBufSize to buff_size
pulBytes to nbytes
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case.
Rene Sapiens [Sat, 10 Jul 2010 02:24:03 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case.

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
pPhysAddr to phys_addr
pPhysicalAddress to physical_address
ppIntfFxns to if_fxns
pProcLoadStat to proc_load_stat
pProcStat to proc_lstat
ppSym to sym_val
pRefData to ref_data
pRef to ref
preservedBit to preserved_bit
pResult to result
procID to proc_id
pSectInfo to sect_inf
pSrc to src
pstrContent to str_content
pstrDummyFile to str_dummy_file
pstrExecFile to str_exec_file
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:02 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
pMemStatBuf to mem_stat_buf
pMgrAttrs to mgr_attrts
pMgrInfo to mgr_info
pNodeEnv to node_env
pNodeId to node_uuid
pNodeInfo to node_info
pNumLibs to num_libs
pNumPersLibs to num_pers_libs
pObjDef to obj_def
pObjUuid to obj_uuid
poolPhysBase to pool_phys_base
poolSize to pool_size
pPctxt to pctxt
ppDevContext to dev_cntxt
ppDrvInterface to drv_intf
pPersistentDepLibs to prstnt_dep_libs
pPhyAddr to phy_addr
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:01 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
phNldrObj to nldr_ovlyobj
phNldr to nldr
phNodeMgr to node_man
pHostBuf to host_buf
pHostConfig to host_config
phRmmMgr to rmm_mgr
phStrmMgr to strm_man
phStrm to strm_objct
phXlator to xlator
physicalAddr to physical_addr
pInfo to channel_info
pIOC to chan_ioc
pLib to lib_obj
pList to lst
pMemBuf to mem_buf
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:24:00 +0000 (21:24 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
phDevContext to device_ctx
phDevNode to dev_nde
phDevObject to device_obj
phDispObject to dispatch_obj
phDmmMgr to dmm_manager
phDrvObject to drv_obj
phDRVObject to drv_obj
phIOMgr to io_man
phLoader to loader
phManager to manager
phMgrObject to mgr_obj
phMgr to mgr
phMsgMgr to msg_man
phMsgQueue to msgq
phNldrNode to nldr_nodeobj
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case.
Rene Sapiens [Sat, 10 Jul 2010 02:23:59 +0000 (21:23 -0500)]
staging: ti dspbridge: Rename words with camel case.

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
pdwSize to buff_size
pdwState to board_state
pdwValue to value
pdwVersion to version
pElemExisting to elem_existing
pEntry to entry
pExists to exists
pfEnablePerf to enable_perf
pGenObj to gen_obj
phChnlMgr to channel_mgr
phChnl to chnl
phCodMgr to cod_mgr
phDCDHandle to dcd_handle
phDcdMgr to dcd_mgr
phDehMgr to deh_manager
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case
Rene Sapiens [Sat, 10 Jul 2010 02:23:58 +0000 (21:23 -0500)]
staging: ti dspbridge: Rename words with camel case

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
pArb to arb
pbAlreadyAttached to already_attached
pBaseAddr to base_addr
pbHostBuf to host_buff
pBufVa to buf_va
pChnlInfo to channel_info
pConfig to config_param
pContent to content
pContext to context
pdcdProps to dcd_prop
pDepLibUuids to dep_lib_uuids
pDevNodeString to dev_node_strg
pDispAttrs to disp_attrs
pDsp to dsp
pdwAutoStart to auto_start
pdwChnl to chnl
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case.
Rene Sapiens [Sat, 10 Jul 2010 02:23:57 +0000 (21:23 -0500)]
staging: ti dspbridge: Rename words with camel case.

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
hStrm to stream_obj
iMode to io_mode
irqMask to irq_mask
lOffset to offset
memPtr to mem_ptr
moduleId to module_id
msgCallback to msg_callback
msgList to msg_list
nArgc to num_argc
nEntryStart to entry_start
nMemSpace to mem_space
nStatus to node_status
nStrms to strms
numLibs to num_libs
numLockedEntries to num_locked_entries
pageSize to page_sz
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Rename words with camel case.
Rene Sapiens [Sat, 10 Jul 2010 02:23:56 +0000 (21:23 -0500)]
staging: ti dspbridge: Rename words with camel case.

The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
hDevContext to dev_ctxt
hDevExtension to dev_extension
hdevObject to device_obj
hDispObject to disp_obj
hDrVObject to driver_obj
hDRVObject to driver_obj
hMGRHandle to mgr_handle
hNldrObject to nldr
hNode1 to node1
hNode2 to node2
hNodeRes to node_resource
hPCtxt to process_ctxt
hProc to proc
hStreamHandle to stream_handle
========================================

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>