ASoC: fsi: modify noisy comment out
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index aea5adb..07a0350 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -101,13 +101,10 @@
#define FSI_FMTS (SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S16_LE)
-/************************************************************************
+/*
+ * struct
+ */
-
- struct
-
-
-************************************************************************/
struct fsi_priv {
void __iomem *base;
struct snd_pcm_substream *substream;
@@ -142,13 +139,10 @@
spinlock_t lock;
};
-/************************************************************************
+/*
+ * basic read write function
+ */
-
- basic read write function
-
-
-************************************************************************/
static void __fsi_reg_write(u32 reg, u32 data)
{
/* valid data area is 24bit */
@@ -251,13 +245,10 @@
spin_unlock_irqrestore(&master->lock, flags);
}
-/************************************************************************
+/*
+ * basic function
+ */
-
- basic function
-
-
-************************************************************************/
static struct fsi_master *fsi_get_master(struct fsi_priv *fsi)
{
return fsi->master;
@@ -362,13 +353,10 @@
return fsi->substream->runtime->dma_area + fsi->byte_offset;
}
-/************************************************************************
+/*
+ * irq function
+ */
-
- irq function
-
-
-************************************************************************/
static void fsi_irq_enable(struct fsi_priv *fsi, int is_play)
{
u32 data = fsi_port_ab_io_bit(fsi, is_play);
@@ -409,13 +397,11 @@
fsi_master_mask_set(master, master->core->int_st, data, 0);
}
-/************************************************************************
-
-
- SPDIF master clock function
-
-These functions are used later FSI2
-************************************************************************/
+/*
+ * SPDIF master clock function
+ *
+ * These functions are used later FSI2
+ */
static void fsi_spdif_clk_ctrl(struct fsi_priv *fsi, int enable)
{
struct fsi_master *master = fsi_get_master(fsi);
@@ -432,13 +418,10 @@
fsi_master_mask_set(master, fsi->mst_ctrl, val, 0);
}
-/************************************************************************
+/*
+ * ctrl function
+ */
-
- ctrl function
-
-
-************************************************************************/
static void fsi_clk_ctrl(struct fsi_priv *fsi, int enable)
{
u32 val = fsi_is_port_a(fsi) ? (1 << 0) : (1 << 4);
@@ -697,13 +680,10 @@
return IRQ_HANDLED;
}
-/************************************************************************
+/*
+ * dai ops
+ */
-
- dai ops
-
-
-************************************************************************/
static int fsi_dai_startup(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
@@ -922,13 +902,10 @@
.hw_params = fsi_dai_hw_params,
};
-/************************************************************************
+/*
+ * pcm ops
+ */
-
- pcm ops
-
-
-************************************************************************/
static struct snd_pcm_hardware fsi_pcm_hardware = {
.info = SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_MMAP |
@@ -994,13 +971,10 @@
.pointer = fsi_pointer,
};
-/************************************************************************
+/*
+ * snd_soc_platform
+ */
-
- snd_soc_platform
-
-
-************************************************************************/
#define PREALLOC_BUFFER (32 * 1024)
#define PREALLOC_BUFFER_MAX (32 * 1024)
@@ -1024,13 +998,10 @@
PREALLOC_BUFFER, PREALLOC_BUFFER_MAX);
}
-/************************************************************************
+/*
+ * alsa struct
+ */
-
- alsa struct
-
-
-************************************************************************/
static struct snd_soc_dai_driver fsi_soc_dai[] = {
{
.name = "fsia-dai",
@@ -1072,13 +1043,10 @@
.pcm_free = fsi_pcm_free,
};
-/************************************************************************
+/*
+ * platform function
+ */
-
- platform function
-
-
-************************************************************************/
static int fsi_probe(struct platform_device *pdev)
{
struct fsi_master *master;