linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: linux-omap@vger.kernel.org
Cc: Hari Kanigeri <h-kanigeri2@ti.com>,
	Hiroshi DOYU <hiroshi.doyu@nokia.com>,
	Ameya Palande <ameya.palande@nokia.com>,
	Fernando Guzman Lugo <x0095840@ti.com>,
	Felipe Contreras <felipe.contreras@nokia.com>
Subject: [PATCH A 02/15] tidspbridge: trivial cleanup
Date: Wed, 18 Mar 2009 03:22:58 +0200	[thread overview]
Message-ID: <1237339391-20543-3-git-send-email-felipe.contreras@gmail.com> (raw)
In-Reply-To: <1237339391-20543-2-git-send-email-felipe.contreras@gmail.com>

From: Felipe Contreras <felipe.contreras@nokia.com>

Remove comments that introduce noise.

Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
---
 drivers/dsp/bridge/wmd/tiomap_sm.c |   46 ++---------------------------------
 1 files changed, 3 insertions(+), 43 deletions(-)

diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c
index 6e258f4..6755944 100644
--- a/drivers/dsp/bridge/wmd/tiomap_sm.c
+++ b/drivers/dsp/bridge/wmd/tiomap_sm.c
@@ -1,10 +1,8 @@
 /*
- * tiomap_sm.c
- *
- * DSP-BIOS Bridge driver support functions for TI OMAP processors.
- *
  * Copyright (C) 2005-2006 Texas Instruments, Inc.
  *
+ * Implements lower edge channel class library functions.
+ *
  * This package is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
@@ -14,40 +12,25 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-/*
- *  ======== tiomap_sm.c ========
- *  Description:
- *      Implements lower edge channel class library functions.
- *
- */
-
-/*  ----------------------------------- Host OS */
 #include <dspbridge/host_os.h>
-/*  ----------------------------------- DSP/BIOS Bridge */
 #include <dspbridge/std.h>
 #include <dspbridge/dbdefs.h>
 #include <dspbridge/errbase.h>
 
-/*  ----------------------------------- Trace & Debug */
 #include <dspbridge/dbg.h>
 
-/*  ----------------------------------- OS Adaptation Layer */
 #include <dspbridge/cfg.h>
 #include <dspbridge/drv.h>
 #include <dspbridge/util.h>
 
-/*  ----------------------------------- Mini Driver */
 #include <dspbridge/wmd.h>
 
-/*  ----------------------------------- Platform Manager */
 #include <dspbridge/wcd.h>
 #include <dspbridge/dev.h>
 
-/* ------------------------------------ Hardware Abstraction Layer */
 #include <hw_defs.h>
 #include <hw_mbox.h>
 
-/*  ----------------------------------- This */
 #include "_tiomap.h"
 #include <dspbridge/chnl_sm.h>
 #include "_tiomap_pwr.h"
@@ -56,7 +39,6 @@
 extern struct platform_device omap_dspbridge_dev;
 #endif
 
-/*  ----------------------------------- Defines, Data Structures, Typedefs */
 #ifndef DEBUG
 #define TIHELEN_INT_TIMEOUT     1
 #define LOOP_COUNT              1000000
@@ -65,10 +47,7 @@ extern struct platform_device omap_dspbridge_dev;
 extern struct MAILBOX_CONTEXT mboxsetting;
 extern DSP_STATUS DSP_PeripheralClocks_Enable(struct WMD_DEV_CONTEXT
 					     *pDevContext, IN void *pArgs);
-/*
- *  ======== CHNLSM_EnableInterrupt ========
- *      Enables interrupts from DSP.
- */
+
 DSP_STATUS CHNLSM_EnableInterrupt(struct WMD_DEV_CONTEXT *hDevContext)
 {
 	DSP_STATUS status = DSP_SOK;
@@ -121,10 +100,6 @@ DSP_STATUS CHNLSM_EnableInterrupt(struct WMD_DEV_CONTEXT *hDevContext)
 	return status;
 }
 
-/*
- *  ======== CHNLSM_DisableInterrupt ========
- *      Disables interrupts from DSP.
- */
 DSP_STATUS CHNLSM_DisableInterrupt(struct WMD_DEV_CONTEXT *hDevContext)
 {
 	DSP_STATUS status = DSP_SOK;
@@ -141,10 +116,6 @@ DSP_STATUS CHNLSM_DisableInterrupt(struct WMD_DEV_CONTEXT *hDevContext)
 	return status;
 }
 
-/*
- *  ======== CHNLSM_InterruptDSP ========
- *      Send an interrupt to the DSP processor(s).
- */
 DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT *hDevContext)
 {
 	DSP_STATUS status = DSP_SOK;
@@ -221,10 +192,6 @@ DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT *hDevContext)
 	return status;
 }
 
-/*
- *  ======== CHNLSM_InterruptDSP2 ========
- *      Set MBX value & send an interrupt to the DSP processor(s).
- */
 DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT *hDevContext,
 				u16 wMbVal)
 {
@@ -235,17 +202,11 @@ DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT *hDevContext,
 	return CHNLSM_InterruptDSP(hDevContext);
 }
 
-/*
- *  ======== CHNLSM_DPC ========
- */
 void CHNLSM_DPC(struct WMD_DEV_CONTEXT *hDevContext)
 {
 	DBG_Trace(DBG_ENTER, "CHNLSM_DPC(0x%x)\n", hDevContext);
 }
 
-/*
- *  ======== CHNLSM_ISR ========
- */
 bool CHNLSM_ISR(struct WMD_DEV_CONTEXT *hDevContext, OUT bool *pfSchedDPC,
 		OUT u16 *pwIntrVal)
 {
@@ -277,4 +238,3 @@ bool CHNLSM_ISR(struct WMD_DEV_CONTEXT *hDevContext, OUT bool *pfSchedDPC,
 	*pfSchedDPC = true;
 	return fMyInterrupt;
 }
-
-- 
1.6.2.1.287.g9a8be


  reply	other threads:[~2009-03-18  1:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18  1:22 [PATCH A 00/15] tidspbridge: general cleanups Felipe Contreras
2009-03-18  1:22 ` [PATCH A 01/15] tidspbridge: remove revision history Felipe Contreras
2009-03-18  1:22   ` Felipe Contreras [this message]
2009-03-18  1:22     ` [PATCH A 03/15] tidspbridge: remove unused stuff Felipe Contreras
2009-03-18  1:23       ` [PATCH A 04/15] tidspbridge: remove IO_CALLDPC Felipe Contreras
2009-03-18  1:23         ` [PATCH A 05/15] tidspbridge: whitespace cleanups Felipe Contreras
2009-03-18  1:23           ` [PATCH A 06/15] tidspbridge: trivial cleanups Felipe Contreras
2009-03-18  1:23             ` [PATCH A 07/15] tidspbridge: hDevContext == pDevContext Felipe Contreras
2009-03-18  1:23               ` [PATCH A 08/15] tidspbridge: remove UTIL_Wait wrapper Felipe Contreras
2009-03-18  1:23                 ` [PATCH A 09/15] tidspbridge: cleanup and remove HW_MBOX_IsFull Felipe Contreras
2009-03-18  1:23                   ` [PATCH A 10/15] tidspbridge: remove udelay and use time_after instead Felipe Contreras
2009-03-18  1:23                     ` [PATCH A 11/15] tidspbridge: Remove IO_InterruptDSP Felipe Contreras
2009-03-18  1:23                       ` [PATCH A 12/15] tidspbridge: remove IO_InterruptDSP2 Felipe Contreras
2009-03-18  1:23                         ` [PATCH A 13/15] tidspbridge: remove CHNLSM_InterruptDSP Felipe Contreras
2009-03-18  1:23                           ` [PATCH A 14/15] tidspbridge: remove wIntrVal2Dsp Felipe Contreras
2009-03-18  1:23                             ` [PATCH A 15/15] tidspbridge: print an error when timing out Felipe Contreras
2009-03-18  7:29                   ` [PATCH A 09/15] tidspbridge: cleanup and remove HW_MBOX_IsFull Felipe Contreras
2009-03-18 12:55 ` [PATCH A 00/15] tidspbridge: general cleanups Kanigeri, Hari
2009-03-18 13:30   ` Felipe Contreras
2009-03-18 14:11     ` Kanigeri, Hari

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=1237339391-20543-3-git-send-email-felipe.contreras@gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=ameya.palande@nokia.com \
    --cc=felipe.contreras@nokia.com \
    --cc=h-kanigeri2@ti.com \
    --cc=hiroshi.doyu@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=x0095840@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;
as well as URLs for NNTP newsgroup(s).