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
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
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
-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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
= 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
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
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
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
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
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
27 matches
Mail list logo