From: Omar Ramirez Luna <omar.ramirez@ti.com>
To: linux-omap <linux-omap@vger.kernel.org>
Cc: Ameya Palande <ameya.palande@nokia.com>,
Hiroshi Doyu <Hiroshi.DOYU@nokia.com>,
Felipe Contreras <felipe.contreras@nokia.com>,
Nishanth Menon <nm@ti.com>,
Omar Ramirez Luna <omar.ramirez@ti.com>
Subject: [PATCH 5/5] DSPBRIDGE: Remove multiple initializations of NTFY module
Date: Fri, 22 Jan 2010 21:33:24 -0600 [thread overview]
Message-ID: <1264217604-8021-6-git-send-email-omar.ramirez@ti.com> (raw)
In-Reply-To: <1264217604-8021-5-git-send-email-omar.ramirez@ti.com>
NTFY module should be only initialized by services layer.
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
---
drivers/dsp/bridge/pmgr/wcd.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index 2afe222..b92386a 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -295,7 +295,6 @@ void WCD_Exit(void)
MSG_Exit();
IO_Exit();
STRM_Exit();
- NTFY_Exit();
DISP_Exit();
NODE_Exit();
PROC_Exit();
@@ -315,7 +314,7 @@ bool WCD_Init(void)
{
bool fInit = true;
bool fDRV, fDEV, fCOD, fCHNL, fMSG, fIO;
- bool fMGR, fPROC, fNODE, fDISP, fNTFY, fSTRM, fRMM;
+ bool fMGR, fPROC, fNODE, fDISP, fSTRM, fRMM;
if (WCD_cRefs == 0) {
/* initialize debugging module */
@@ -327,7 +326,6 @@ bool WCD_Init(void)
fPROC = PROC_Init();
fNODE = NODE_Init();
fDISP = DISP_Init();
- fNTFY = NTFY_Init();
fSTRM = STRM_Init();
fRMM = RMM_init();
fCHNL = CHNL_Init();
@@ -357,9 +355,6 @@ bool WCD_Init(void)
if (fDISP)
DISP_Exit();
- if (fNTFY)
- NTFY_Exit();
-
if (fCHNL)
CHNL_Exit();
--
1.6.2.4
next prev parent reply other threads:[~2010-01-23 3:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-23 3:33 [PATCH 0/5] DSPBRIDGE: centralized services initialization Omar Ramirez Luna
2010-01-23 3:33 ` [PATCH 1/5] DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit] Omar Ramirez Luna
2010-01-23 3:33 ` [PATCH 2/5] DSPBRIDGE: remove crefs for SERVICES[Init|Exit] Omar Ramirez Luna
2010-01-23 3:33 ` [PATCH 3/5] DSPBRIDGE: Remove multiple initializations of MEM module Omar Ramirez Luna
2010-01-23 3:33 ` [PATCH 4/5] DSPBRIDGE: Remove multiple initializations of REG module Omar Ramirez Luna
2010-01-23 3:33 ` Omar Ramirez Luna [this message]
2010-01-26 1:57 ` [RESEND][PATCH " Omar Ramirez Luna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264217604-8021-6-git-send-email-omar.ramirez@ti.com \
--to=omar.ramirez@ti.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=ameya.palande@nokia.com \
--cc=felipe.contreras@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox