[PATCH 01/11] staging: tidspbridge: Move sync.c from services to core

2010-08-25 Thread Ivan Gomez Castellanos
As the services directory is going to be removed, the file sync.c is moved from services to core. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- drivers/staging/tidspbridge/Makefile |4 ++-- .../staging/tidspbridge/{services = core}/sync.c |0 2 files changed

[PATCH 03/11] staging: tidspbridge: Remove cfg_get_auto_start()

2010-08-25 Thread Ivan Gomez Castellanos
As the services directory is going to be removed, this patch is needed. The function cfg_get_auto_start() only assigns a value to the flag tmp, and it is only called by the function api_init_complete2(). So the function cfg_get_auto_start() is not required. Signed-off-by: Ivan Gomez Castellanos

[PATCH 02/11] staging: tidspbridge: Remove ntfy.c

2010-08-25 Thread Ivan Gomez Castellanos
As the services directory is going to be removed, this patch is needed. ntfy.c only contained the function dsp_notifier_event(), and since this function calls sync_set_event(), then the dsp_notifier_event() is moved to the sync.c file. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com

[PATCH 06/11] staging: tidspbridge: Remove cfg_get_exec_file()

2010-08-25 Thread Ivan Gomez Castellanos
-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- .../staging/tidspbridge/include/dspbridge/cfg.h| 22 -- drivers/staging/tidspbridge/rmgr/proc.c| 27 - drivers/staging/tidspbridge/services/cfg.c | 31 3 files

[PATCH 07/11] staging: tidspbridge: Remove cfg_get_object()

2010-08-25 Thread Ivan Gomez Castellanos
omap34_xx_bridge_remove(), so it is removed. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- .../staging/tidspbridge/include/dspbridge/cfg.h| 17 drivers/staging/tidspbridge/pmgr/dev.c | 10 - drivers/staging/tidspbridge/rmgr/drv.c | 34

[PATCH 08/11] staging: tidspbridge: Remove cfg_set_dev_object()

2010-08-25 Thread Ivan Gomez Castellanos
As the services directory is going to be removed, the cfg_set_dev_object function has also to be removed. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- .../staging/tidspbridge/include/dspbridge/cfg.h| 19 drivers/staging/tidspbridge/pmgr/dev.c | 28

[PATCH 09/11] staging: tidspbridge: Remove cfg_set_object()

2010-08-25 Thread Ivan Gomez Castellanos
As the services directory is going to be removed, the cfg_set_object function has also to be removed. Since the driver object handle is retrieved from the drv_data structure, then the word Registry is replaced by driver data in the comments. Signed-off-by: Ivan Gomez Castellanos ivan.go

[PATCH 10/11] staging: tidspbridge: Remove cfg.c and cfg.h files

2010-08-25 Thread Ivan Gomez Castellanos
So far, the cfg.c file is empty, and the function prototypes in cfg.h are not used in any place. So they can be removed. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- drivers/staging/tidspbridge/Makefile |3 +- drivers/staging/tidspbridge/core/chnl_sm.c

[PATCH 11/11] staging: tidspbridge: Remove services.c and services.h

2010-08-25 Thread Ivan Gomez Castellanos
The services_init() and services_exit() functions don't do anything, so they are removed, and as these are the only two functions defined in services.c and services.h, then these files are also removed. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- drivers/staging/tidspbridge

[PATCH 03/11] DSPBRIDGE: Rename variables and structures which contain wmd

2010-04-30 Thread Ivan Gomez Castellanos
-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/dev.h | 12 arch/arm/plat-omap/include/dspbridge/wmd.h |2 +- arch/arm/plat-omap/include/dspbridge/wmdioctl.h |2 +- drivers/dsp/bridge/pmgr/dev.c | 35

[PATCH 01/11] DSPBRIDGE: Rename wmd_dev_context structure by bridge_dev_context

2010-04-30 Thread Ivan Gomez Castellanos
This change is done because wmd refers to Windows OS. wmd = windows mini driver And the new name bridge_dev_context make more sense. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/dev.h |2 +- arch/arm/plat-omap/include/dspbridge/io_sm.h

[PATCH 00/11] DSPBRIDGE: Remove code and comments refering to other OS

2010-04-30 Thread Ivan Gomez Castellanos
As this code is generic to Linux, this patch series replaces code and comments thar refers to other OS. Ivan Gomez Castellanos (10): DSPBRIDGE: Rename wmd_dev_context structure by bridge_dev_context DSPBRIDGE: Rename the device context handle variables DSPBRIDGE: Rename variables

[PATCH 11/11] DSPBRIDGE: Rename header file guard macros that cointain WMD or WCD

2010-04-30 Thread Ivan Gomez Castellanos
The patch DSPBRIDGE: Rename files that refer to Windows OS, renamed header files, and this patch renames its include guard macros by the corresponding new header names. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- .../arm/plat-omap/include/dspbridge/dspapi-ioctl.h |6

[PATCH 05/11] DSPBRIDGE: Replace code containing WMD

2010-04-30 Thread Ivan Gomez Castellanos
This patch removes references to Windows OS, and since WMD means windows mini driver, then it is replaced by BRD which means Bridge. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/errbase.h | 12 +++--- arch/arm/plat-omap/include/dspbridge

[PATCH 08/11] DSPBRIDGE: Rename files that refer to Windows OS

2010-04-30 Thread Ivan Gomez Castellanos
wcd.c == dspapi.c Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/_chnl_sm.h|4 ++-- arch/arm/plat-omap/include/dspbridge/_dcd.h|2 +- arch/arm/plat-omap/include/dspbridge/dev.h |2 +- arch/arm/plat-omap/include/dspbridge

[PATCH 09/11] DSPBRIDGE: Append the content of _dcd.h into dspapi.h

2010-04-30 Thread Ivan Gomez Castellanos
The header file _dcd.h contained the function prototypes of dspapi.c, so _dcd.h file is removed and its content is placed into dspapi.h. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/_dcd.h | 152 - arch/arm/plat-omap

[PATCH 04/11] DSPBRIDGE: Rename functions which contain wmd and remove unused prototypes

2010-04-30 Thread Ivan Gomez Castellanos
Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/cfg.h | 23 --- arch/arm/plat-omap/include/dspbridge/dev.h |7 --- drivers/dsp/bridge/pmgr/dev.c |7 --- drivers/dsp/bridge/rmgr/node.c |4

[PATCH 10/11] DSPBRIDGE: Remove OS specific comments

2010-04-30 Thread Ivan Gomez Castellanos
From: Omar Ramirez Luna omar.rami...@ti.com As this is generic to Linux, remove obvious references to this and other OS. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/dev.h | 14 +++--- arch/arm/plat-omap/include/dspbridge/dspdefs.h

[PATCH 06/11] DSPBRIDGE: Replace code containing wcd

2010-04-30 Thread Ivan Gomez Castellanos
WCD_MINOR_VERSION == BRD_API_MINOR_VERSION Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/_dcd.h | 36 arch/arm/plat-omap/include/dspbridge/dev.h |2 +- arch/arm/plat-omap/include/dspbridge/wcd.h |6 +- arch/arm/plat-omap/include

[PATCH 07/11] DSPBRIDGE: Rename wmd directory by core

2010-04-30 Thread Ivan Gomez Castellanos
Since wmd (windows mini driver) refers to Windows OS, then this directory is renamed by core Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- drivers/dsp/bridge/Makefile | 10 +- drivers/dsp/bridge/{wmd = core}/_cmm.h |0 drivers/dsp

[PATCH 02/11] DSPBRIDGE: Rename the device context handle variables

2010-04-30 Thread Ivan Gomez Castellanos
The name of these variables contains wmd, which refers to Windows OS, So they are renamed as follows: hwmd_context == hbridge_context pwmd_context == pbridge_context phWmdContext == phbridge_context Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge

[PATCH 0/4] DSPBRIDGE: Remove comments refering to Windows OS.

2010-05-19 Thread Ivan Gomez Castellanos
= DSP API (Since WCD provides an interface between the different layers of the Windows Driver Model and Applications) This patch series is a compliment of the patch series to remove code refering to other OS. Ivan Gomez Castellanos (4): DSPBRIDGE: Remove comments refering to WMD. DSPBRIDGE

[PATCH 1/4] DSPBRIDGE: Remove comments refering to WMD.

2010-05-19 Thread Ivan Gomez Castellanos
This patch removes comments refering to WMD (Windows Mini Driver). This is a complement of the patch series to remove code refering to other OS. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/_chnl_sm.h |2 +- arch/arm/plat-omap/include

[PATCH 2/4] DSPBRIDGE: Remove comments refering to WCD.

2010-05-19 Thread Ivan Gomez Castellanos
This patch removes comments refering to WCD (Windows Class Driver). This is a complement of the patch series to remove code refering to other OS. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge/chnl.h |2 +- arch/arm/plat-omap/include

[PATCH 4/4] DSPBRIDGE: Remove comments refering to class driver

2010-05-19 Thread Ivan Gomez Castellanos
class-driver refers to the Windows Driver Model, and as this code is specific to Linux then these comments are removed. This is a complement of the patch series to remove code refering to other OS. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge

[PATCH 3/4] DSPBRIDGE: Remove comments refering to mini driver

2010-05-19 Thread Ivan Gomez Castellanos
mini-driver refers to the Windows Driver Model, and as this code is specific to Linux then these comments are removed. This is a complement of the patch series to remove code refering to other OS. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- arch/arm/plat-omap/include/dspbridge

[PATCH] DSPBRIDGE: Fix wrong prints of DBC_ENSURE()

2010-06-10 Thread Ivan Gomez Castellanos
and signature, which was not good because it dereferenced a pointer that was already freed. This patch removes DBC_ENSURE() whenever it checks for a previously freed pointer, or fix the code to avoid wrong assertions printing. Signed-off-by: Ivan Gomez Castellanos ivan.go...@ti.com --- drivers/dsp