From: Ernesto Ramos
Add more error checking and range to address usecases
accessing kernel APIs directly.
Signed-off-by: Ernesto Ramos
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
---
arch/arm/plat-omap/include/dspbridge/dbdefs.h |4 +-
drivers/dsp/bridge/pmgr/wcd.c
ge_[open|release]
Omar Ramirez Luna (7):
DSPBRIDGE: replace IO_ADDRESS with ioremap
DSPBRIDGE: Replace magic numbers in SSI configuration
DSPBRIDGE: Mark unused ioctls as deprecated
DSPBRIDGE: remove ioctl runtime check
DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl
DSPBRIDGE: U
Rename ssi_sysconfig variable and replace the usage of magic
numbers while updating SSI configuration.
Signed-off-by: Omar Ramirez Luna
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
drivers/dsp/bridge/services/clk.c | 12
1 files changed, 8
Trivial cleanup, rename pResult to result for WCD_CallDevIOCtl
Signed-off-by: Omar Ramirez Luna
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
drivers/dsp/bridge/pmgr/wcd.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
e enough. Other
clients (not using libbridge) need to update their ioctl numbers
manually.
Signed-off-by: Omar Ramirez Luna
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 181 -
drivers/dsp/bri
Remove WCD_Cmd structure given that only one member is being
used (fxn call), this structure is replaced for a definition
of an array of function pointers for each dspbridge ioctl
module.
Signed-off-by: Omar Ramirez Luna
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe
Use ioremap() instead of using IO_ADDRESS macro to make it generic.
Signed-off-by: Omar Ramirez Luna
CC: Tony Lindgren
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
drivers/dsp/bridge/services/clk.c | 19 +--
1 files changed, 13 insertions
Mark unused ioctls as deprecated for future removal
and print an error message whenever they are used.
Signed-off-by: Omar Ramirez Luna
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 11 --
drivers/dsp
This patch removes the runtime check of device
ioctl array.
Signed-off-by: Omar Ramirez Luna
CC: Nishanth Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
drivers/dsp/bridge/pmgr/wcd.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/drivers/dsp
e enough. Other
clients (not using libbridge) need to update their ioctl numbers
manually.
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 164 +++--
drivers/dsp/bri
Rename ssi_sysconfig variable and replace the usage of magic
numbers while updating SSI configuration.
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
drivers/dsp/bridge/services/clk.c | 12
1 files changed, 8
Use ioremap() instead of using IO_ADDRESS macro to make it generic.
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Felipe Contreras
---
drivers/dsp/bridge/services/clk.c | 15 +--
1 files changed, 9 insertions(+), 6 deletions(-)
diff
This patch removes the runtime check of device
ioctl array.
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
CC: Felipe Contreras
---
drivers/dsp/bridge/pmgr/wcd.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp
Ramirez Luna (6):
DSPBRIDGE: replace IO_ADDRESS with ioremap
DSPBRIDGE: Replace magic numbers in SSI configuration
DSPBRIDGE: Mark unused ioctls as deprecated
DSPBRIDGE: remove ioctl runtime check
DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl
DSPBRIDGE: Use _IOxx macro to define
Trivial cleanup, rename pResult to result for WCD_CallDevIOCtl
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
drivers/dsp/bridge/pmgr/wcd.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index
Mark unused ioctls as deprecated for future removal.
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
CC: Felipe Contreras
---
arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 11 --
drivers/dsp/bridge/pmgr/wcd.c | 38 +--
2 files changed, 22
This is the official 0.1 dspbridge version.
CC: Felipe Contreras
CC: Hiroshi Doyu
CC: Ameya Palande
CC: Nishant Menon
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/drv_interface.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/dsp/bridge
/heads/dspbridge
Special thanks to:
- Felipe Contreras: for his comments and time during this sync up.
- Hiroshi Doyu and Ameya Palande for their time reviewing patches.
- And all who also have provided their comments.
Omar Ramirez Luna (1):
DSPBRIDGE: driver version 0.1
drivers/dsp/bridge/rmgr
ed
and not implemented ioctls, this can be done when all the ioctls
are accessed through a switch instead of a pointer to function.
*** NOTE: An update in api ioctl definitions is required. ***
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/wcdioct
Fix header locations, replaced mach to plat
Signed-off-by: Omar Ramirez Luna
---
arch/arm/mach-omap2/dspbridge.c|2 +-
arch/arm/plat-omap/include/dspbridge/host_os.h |2 +-
drivers/dsp/bridge/wmd/tiomap3430.c|2 +-
3 files changed, 3 insertions(+), 3
Include dspbridge compilation whenever bridge driver is selected to
be compiled, either as a module or part of the kernel. This will
initialize platform data specific PM functions.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/mach-omap2/Makefile |4 +++-
1 files changed, 3 insertions(+), 1
From: Fernando Guzman Lugo
This patch changes clk_notifier_unregister with
cpufreq_unregister_notifier, which is used for OPP change
notifications
Signed-off-by: Fernando Guzman Lugo
---
drivers/dsp/bridge/Kconfig |2 +-
drivers/dsp/bridge/rmgr/drv_interface.c | 25 +
This patch removes an unused variable in bridge_open
and bridge_release functions, which reduces indentation.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/drv_interface.c | 25 +
1 files changed, 5 insertions(+), 20 deletions(-)
diff --git a/drivers
This patch creates a new sysfs entry to query the driver
state without making any bridge direct call, this is
useful to monitor driver state without creating any handle
to bridge driver.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/drv_interface.c | 87
From: Hari Kanigeri
This patch increases the DMM from 64MB to 256MB.
Signed-off-by: Hari Kanigeri
Signed-off-by: Omar Ramirez Luna
Signed-off-by: Leed Aguilar
---
arch/arm/plat-omap/include/dspbridge/dmm.h |2 +-
drivers/dsp/bridge/pmgr/dmm.c |8
2 files
This patch cleans SSI clock preparation and also removes
the dependency on IO_ADDRESS variants for easier maintenance.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/drv.h |7 ++
drivers/dsp/bridge/services/clk.c | 30 ++-
2
).
Fernando Guzman Lugo (1):
DSPBRIDGE: change to cpufreq_register_notifier for OPP changes
Hari Kanigeri (1):
DSPBRIDGE: Increased DMM size to 256MB
Omar Ramirez Luna (6):
DSPBRIDGE: Cleanup SSI handling - remove IO_ADDRESS
DSPBRIDGE: sysfs entry for global driver state
DSPBRIDGE: Remove unused
Omar Ramirez Luna (2):
DSPBRIDGE: Avoid saving mailbox settings on constraint request
DSPBRIDGE: remove useless return statement
drivers/dsp/bridge/wmd/tiomap3430_pwr.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
--
To unsubscribe from this list: send the line
There is no need to save the mailbox settings if a request
to set the OPP constraint comes from the DSP.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/dsp/bridge/wmd
Remove useless return in function to set an OPP constraint.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c
b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c
mit/f0cc4ab4e4c40043a423f178a970ad9c8ab8fa06
Signed-off-by: Ameya Palande
[ orl: ported ]
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430.c | 18 --
1 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c
b/drivers/
This patch will reset IVA2 video sequencer as part of
initialization or uninstall process.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c
b/drivers/dsp/bridge
Use goto statement to remove one indent level from
bridge_open and bridge_release.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/drv_interface.c | 61 ---
1 files changed, 32 insertions(+), 29 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr
From: Ameya Palande
As part of resource cleanup changes, this patch continues with the
next level of modifications required to use filp->private to store
PROCESS_CONTEXT structure.
Signed-off-by: Ameya Palande
[ orl: split into logical patch set, patch description ]
Signed-off-by: Omar Rami
From: Ameya Palande
This patch enables passing of filp->private_data to all the ioctl wrappers
functions. This change will facilitate retrival of PROCESS_CONTEXT pointer in
ioctl, and will remove the call to DRV_GetProcContext().
Signed-off-by: Ameya Palande
Acked-by: Fernando Guzman Lugo
---
From: Ameya Palande
Remove old resource cleanup implementation, and use the process
context pointer stored in filp->private.
Signed-off-by: Ameya Palande
[ orl: split into logical patch set, patch description ]
Signed-off-by: Omar Ramirez Luna
Acked-by: Fernando Guzman Lugo
---
arch/
From: Fernando Guzman Lugo
This patch removes the list implementation to store and manage
process contexts as it is not needed anymore.
Signed-off-by: Fernando Guzman Lugo
---
.../plat-omap/include/dspbridge/resourcecleanup.h |2 -
drivers/dsp/bridge/pmgr/wcd.c |1
parameter in low level functions
DSPBRIDGE: Remove old resource cleanup implementation
Ernesto Ramos Falcon (1):
DSPBRIDGE: Delete list implementation for resource cleanup
Fernando Guzman Lugo (1):
DSPBRIDGE: Remove process context list
Omar Ramirez Luna (2):
DSPBRIDGE: less indentation fo
From: Ernesto Ramos Falcon
This patch moves processor detach implementation to bridge_release,
when a process is exiting it will be doing the detach from there
instead of relying on the user to explicitly call detach function.
This will allow a fine control on the resources that will be cleaned
Move object structure to PROC module.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/proc.h | 24
drivers/dsp/bridge/rmgr/proc.c | 23 +++
2 files changed, 23 insertions(+), 24 deletions(-)
diff --git a
Trivial spacing cleanup on DSP/BIOS Bridge Configuration
Database module.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/dbdcd.c | 343 ---
1 files changed, 179 insertions(+), 164 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b
These files seem to be unused, deleting them.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dbl.h | 354 ---
arch/arm/plat-omap/include/dspbridge/dbof.h | 117 ---
drivers/dsp/bridge/dynload/dlclasses_hdr.h | 41 -
drivers/dsp/bridge/pmgr/dbl.c
-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 73 ++-
1 files changed, 72 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c
b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c
index 619ed1a..f30da74 100644
--- a
=c8853459b739e5f43da0badc1605a0a0c0c8195d
Reported-by: Nishanth Menon
Signed-off-by: Fernando Guzman Lugo
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/_tiomap_util.h |6 ++
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 24 +---
2 files changed, 19
KFILE_Seek & KFILE_Tell, u32 replaced with loff_t
Discovered-by: Ameya Palande
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/pmgr/cod.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/cod.c b/drivers/dsp/bridge/pmgr/cod.c
i
From: Ernesto Ramos Falcon
Fix for memory leak in DSPNode_RegisterNotify when
unregistering an object.
Signed-off-by: Ernesto Ramos Falcon
---
drivers/dsp/bridge/pmgr/wcd.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/
If a page doesn't have a sane count, do not panic or release it.
Loudly complain with dump_stack but do not halt with BUG.
Signed-off-by: Fernando Guzman Lugo
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430.c | 12 +++-
1 files changed, 7 insertions(
From: Hiroshi DOYU
Enable smart/autoidle for mailbox sysconfig register.
Original patch:
http://patchwork.kernel.org/patch/35628/
Reported-by: Tero Kristo
Signed-off-by: Hiroshi DOYU
[ fg: remove wrapper around restoreSettings ]
Signed-off-by: Fernando Guzman Lugo
---
drivers/dsp/bridge/hw/
Rename usCount to timeout
Reported-by: Nishanth Menon
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430.c |6 +++---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 12 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/dsp/bridge/wmd
From: Ernest Ramos Falcon
This patch adds a check before calling Proc_Detach, otherwise
we will see an error.
Signed-off-by: Ernest Ramos Falcon
Signed-off-by: Fernando Guzman Lugo
---
drivers/dsp/bridge/rmgr/drv_interface.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff -
From: Fernando Guzman Lugo
This patch fixes loading a SN that has 4 dependent DLLs, previously
it was failing due to a non-null terminated string.
Signed-off-by: Fernando Guzman Lugo
---
drivers/dsp/bridge/rmgr/dbdcd.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/d
Check the status of DMM_GetHandle
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/proc.c | 17 ++---
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c
index 3c23d85..1ab6181 100644
--- a
unusable until a recovery method
cleans the error state.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/Kconfig | 11 +++
drivers/dsp/bridge/wmd/tiomap3430_pwr.c |4
drivers/dsp/bridge/wmd/ue_deh.c |2 ++
3 files changed, 17 insertions(+), 0
Compilation fixes 2.6.31
board-sdp3430.h not found
clk_handle undefined because of DVFS flag
Signed-off-by: Omar Ramirez Luna
---
arch/arm/mach-omap2/dspbridge.c |2 ++
drivers/dsp/bridge/rmgr/drv_interface.c |8
drivers/dsp/bridge/rmgr/proc.c
While suspending bridge disables peripheral clocks, but those
are not enabled again if the power state is configured to be
retention, which leaves the dsp not functional after suspend.
This patch re-enables the clocks on wakeup for off/ret power
states.
Signed-off-by: Omar Ramirez Luna
From: Rebecca Schultz Zavin
This macro can refer to a varible not defined in this scope.
gcc 4.4 and later will view this as an error and this code
will not compile.
Signed-off-by: Rebecca Schultz Zavin
---
drivers/dsp/bridge/dynload/cload.c |6 --
1 files changed, 0 insertions(+), 6 d
: support loading 4 dependent DLL
Hiroshi DOYU (1):
DSPBRIDGE: enable smart/autoidle for mailbox sysconfig
Omar Ramirez Luna (11):
DSPBRIDGE: Fix compile break for WCD debug mask
DSPBRIDGE: set PWRERROR notifications as an option
DSPBRIDGE: Enable peripheral clocks on wake up
DSPBRIDGE
If debug mode is enabled compilation will break because WCD
debug mask is used before behing defined.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/pmgr/wcd.c | 80
1 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/drivers/dsp
=c8853459b739e5f43da0badc1605a0a0c0c8195d
Reported-by: Nishanth Menon
Signed-off-by: Fernando Guzman Lugo
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/_tiomap_util.h |6 ++
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 24 +---
2 files changed, 19
From: Fernando Guzman Lugo
Enable/Disable McBSP_CLOCKS when McBSP2 is requested
so DPLL can be gated.
Signed-off-by: Fernando Guzman Lugo
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 73 ++-
1 files changed, 72 insertions(+), 1
unusable until a recovery method
cleans the error state.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/Kconfig | 11 +++
drivers/dsp/bridge/wmd/tiomap3430_pwr.c |4
drivers/dsp/bridge/wmd/ue_deh.c |2 ++
3 files changed, 17 insertions(+), 0
Trivial spacing cleanup on DSP/BIOS Bridge Configuration
Database module.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/dbdcd.c | 343 ---
1 files changed, 179 insertions(+), 164 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b
Check the status of DMM_GetHandle
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/rmgr/proc.c | 17 ++---
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c
index ab0b913..89b1ff3 100644
--- a
If a page doesn't have a sane count, do not panic or release it.
Loudly complain with dump_stack but do not halt with BUG.
Signed-off-by: Fernando Guzman Lugo
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430.c | 12 +++-
1 files changed, 7 insertions(
From: Fernando Guzman Lugo
This patch fixes loading a SN that has 4 dependent DLLs, previously
it was failing due to a non-null terminated string.
Signed-off-by: Fernando Guzman Lugo
---
drivers/dsp/bridge/rmgr/dbdcd.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/d
Avoid calls to read the register if pDevContext is available
to the function, this will save a call to query and hold
a semaphore under registry operations.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/cfgdefs.h |2 +-
drivers/dsp/bridge/rmgr/drv.c
Compilation fixes 2.6.31
board-sdp3430.h not found
clk_handle undefined because of DVFS flag
Signed-off-by: Omar Ramirez Luna
---
arch/arm/mach-omap2/dspbridge.c |2 ++
drivers/dsp/bridge/rmgr/drv_interface.c |8
drivers/dsp/bridge/rmgr/proc.c
If enable_off_mode is not set bridge target state going into
suspend will be retention, on this path the peripheral clocks
will be disabled but not enabled again when waking the dsp up.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap_sm.c |4 +++-
1 files changed, 3
From: Ernesto Ramos Falcon
Fix for memory leak in DSPNode_RegisterNotify when
unregistering an object.
Signed-off-by: Ernesto Ramos Falcon
---
drivers/dsp/bridge/pmgr/wcd.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/
These files seem to be unused, deleting them.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dbl.h | 354 ---
arch/arm/plat-omap/include/dspbridge/dbof.h | 117 ---
drivers/dsp/bridge/dynload/dlclasses_hdr.h | 41 -
drivers/dsp/bridge/pmgr/dbl.c
KFILE_Seek & KFILE_Tell, u32 replaced with loff_t
Discovered-by: Ameya Palande
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/pmgr/cod.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/cod.c b/drivers/dsp/bridge/pmgr/cod.c
i
From: Ernest Ramos Falcon
This patch adds a check before calling Proc_Detach, otherwise
we will see an error.
Signed-off-by: Ernest Ramos Falcon
Signed-off-by: Fernando Guzman Lugo
---
drivers/dsp/bridge/rmgr/drv_interface.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff -
Rename usCount to timeout
Reported-by: Nishanth Menon
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/tiomap3430.c |6 +++---
drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 12 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/dsp/bridge/wmd
From: Rebecca Schultz Zavin
This macro can refer to a varible not defined in this scope.
gcc 4.4 and later will view this as an error and this code
will not compile.
Signed-off-by: Rebecca Schultz Zavin
---
drivers/dsp/bridge/dynload/cload.c |6 --
1 files changed, 0 insertions(+), 6 d
support for dynamic loader
DSPBRIDGE: Enable/Disable MCBSP_CLOCKS for MCBSP2
DSPBRIDGE: support loading 4 dependent DLL
Omar Ramirez Luna (11):
DSPBRIDGE: set PWRERROR notifications as an option
DSPBRIDGE: Enable peripheral clocks on wake up
DSPBRIDGE: Remove long busy-wait loops on PWRST
This patch corrects current style for comments on io_sm.c
- Fix multiline comments according to Documentation/CodingStyle
Functions comments will be addressed in a different patch.
Signed-off-by: Omar Ramirez Luna
CC: Artem Bityutskiy
CC: Felipe Balbi
---
drivers/dsp/bridge/wmd/io_sm.c
implemented, will be clenaed when the big
ioctl switch replaces the WCD function table.
CC: Artem Bityutskiy
CC: Felipe Balbi
CC: Felipe Contreras
CC: Hiroshi Doyu
CC: Nishant Menon
Omar Ramirez Luna (20):
DSPBRIDGE: driver version 0.1
DSPBRIDGE: trivial license fix in tramp and
This patch removes init and exit functions for DPC module.
It also deletes dpc source file and takes out the module from
Makefile.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dpc.h | 26 ---
drivers/dsp/bridge/Makefile|3 +-
drivers
Remove DeferredProcedure which is used as a wrapper to call
either IO or MMUfault DPCs. This also removes a custom typedef.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dpc.h | 23
arch/arm/plat-omap/include/dspbridge/io_sm.h |2 +-
drivers/dsp
WARNING: line over 80 characters
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
arch/arm/plat-omap/include/dspbridge/dbdefs.h |2 +-
drivers/dsp/bridge/wmd/io_sm.c|3 ++-
drivers/dsp/bridge/wmd/mmu_fault.c|3 ++-
drivers/dsp/bridge/wmd/tiomap3430
ERROR: "foo *__user * bar" should be "foo *__user *bar"
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
arch/arm/plat-omap/include/dspbridge/wcdioctl.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-omap/include/dspbridge/wc
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
drivers/dsp/bridge/gen/gs.c |3 +--
drivers/dsp/bridge/pmgr/cmm.c |5 ++---
drivers/dsp/bridge/rmgr/node.c|4 ++--
drivers/dsp/bridge/services/cfg.c
Prior to any further modification set the driver version to be 0.1
Also in this patch:
- Move author and license macros to end of file
- License to be GPL v2 as stated on the comments
Signed-off-by: Omar Ramirez Luna
CC: Artem Bityutskiy
CC: Felipe Contreras
CC: Hiroshi Doyu
---
drivers/dsp
Remove DPC object structure and declare required members
for each tasklet inside their correspondent modules.
Remove dpc header file.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/_chnl_sm.h |1 -
arch/arm/plat-omap/include/dspbridge/dpc.h | 38
ed
and not implemented ioctls, this can be done when all the ioctls
are accessed through a switch instead of a pointer to function.
*** NOTE: An update in api ioctl definitions is required. ***
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
arch/arm/plat-omap/include/dspbridge/wcdioct
WARNING: struct file_operations should normally be const
Signed-off-by: Omar Ramirez Lua
CC: Nishant Menon
---
drivers/dsp/bridge/rmgr/drv_interface.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c
b/drivers/dsp/bridge/rmgr/drv
Remove DPC wrappers and replace with direct Linux calls.
These changes apply to IO DPC and MMUfault DPC
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dpc.h | 90 +++--
drivers/dsp/bridge/services/dpc.c | 144
WARNING: printk() should include KERN_ facility level
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
arch/arm/plat-omap/include/dspbridge/dbc.h |2 +-
arch/arm/plat-omap/include/dspbridge/gt.h |2 +-
drivers/dsp/bridge/gen/_gt_para.c |2 +-
3 files changed, 3
ERROR: space required before the open parenthesis '('
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
drivers/dsp/bridge/pmgr/dev.c |2 +-
drivers/dsp/bridge/services/dbg.c |2 +-
drivers/dsp/bridge/wmd/io_sm.c|4 ++--
drivers/dsp/bridge/wmd/msg_sm.c |
Remove duplicate set of braces from if statement and reduce
indentation.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/io_sm.c | 96 +---
1 files changed, 40 insertions(+), 56 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Omar Ramirez Luna
CC: Nishant Menon
---
drivers/dsp/bridge/hw/GlobalTypes.h |4 ++--
drivers/dsp/bridge/hw/PRCMRegAcM.h | 24
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git
Seems that these files had a licensing mismatch, changing to
GPL2.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/dynload/tramp.c | 18 +-
drivers/dsp/bridge/dynload/tramp_table_c6000.c | 18 +-
2 files changed, 26 insertions(+), 10
Remove DeferredProcedure which is used as a wrapper to call
either IO or MMUfault DPCs. This also removes a custom typedef.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dpc.h | 23
arch/arm/plat-omap/include/dspbridge/io_sm.h |2 +-
drivers/dsp
Remove DPC wrappers and replace with direct Linux calls.
These changes apply to IO DPC and MMUfault DPC
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dpc.h | 90 +++--
drivers/dsp/bridge/services/dpc.c | 144
Remove duplicate set of braces from if statement and reduce
indentation.
Signed-off-by: Omar Ramirez Luna
---
drivers/dsp/bridge/wmd/io_sm.c | 96 +---
1 files changed, 40 insertions(+), 56 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers
Following patches are cleanups, removing history of files,
tab spacing and also remove DPC layer.
Omar Ramirez Luna (8):
DSPBRIDGE: trivial checkpatch fixes
DSPBRIDGE: Fix multiline macros to use do while
DSPBRIDGE: Use _IOxx macro to define ioctls
DSPBRIDGE: trivial cleanup and
Remove DPC object structure and declare required members
for each tasklet inside their correspondent modules.
Remove dpc header file.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/_chnl_sm.h |1 -
arch/arm/plat-omap/include/dspbridge/dpc.h | 38
Use standard convention to define ioctls.
Currently 'DB' is used as identifier for dspbridge.
*** NOTE: An update in api ioctl definitions is required. ***
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 142 ++-
drivers/
This patch removes init and exit functions for DPC module.
It also deletes dpc source file and takes out the module from
Makefile.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/dpc.h | 26 ---
drivers/dsp/bridge/Makefile|3 +-
drivers
Replace the physical contiguos allocation for DMM tables as the
required space might not available after some time, use virtual memory
allocation instead.
Signed-off-by: Omar Ramirez Luna
---
arch/arm/plat-omap/include/dspbridge/mem.h | 17 +
drivers/dsp/bridge/pmgr/dmm.c
601 - 700 of 730 matches
Mail list logo