* [PATCH] ASoC: pxa: Added */ to the next line
@ 2017-02-25 21:20 ` Codrut Grosu
0 siblings, 0 replies; 3+ messages in thread
From: Codrut Grosu @ 2017-02-25 21:20 UTC (permalink / raw)
To: perex, daniel, robert.jarzmik, haojian.zhuang, tiwai,
philipp.zabel, lost.distance
Cc: lgirdwood, broonie, alsa-devel, linux-kernel, linux-arm-kernel,
Codrut Grosu
This was reported by checkpatch.pl
Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
---
sound/soc/pxa/hx4700.c | 3 ++-
sound/soc/pxa/pxa-ssp.c | 3 ++-
sound/soc/pxa/pxa2xx-pcm.c | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c
index 8548304..17c2e67 100644
--- a/sound/soc/pxa/hx4700.c
+++ b/sound/soc/pxa/hx4700.c
@@ -70,7 +70,8 @@ static int hx4700_hw_params(struct snd_pcm_substream *substream,
return ret;
/* inform codec driver about clock freq *
- * (PXA I2S always uses divider 256) */
+ * (PXA I2S always uses divider 256)
+ */
ret = snd_soc_dai_set_sysclk(codec_dai, 0, 256 * params_rate(params),
SND_SOC_CLOCK_IN);
if (ret < 0)
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 3cad990..3bdace6 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -254,7 +254,8 @@ static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
}
/* The SSP clock must be disabled when changing SSP clock mode
- * on PXA2xx. On PXA3xx it must be enabled when doing so. */
+ * on PXA2xx. On PXA3xx it must be enabled when doing so.
+ */
if (ssp->type != PXA3xx_SSP)
clk_disable_unprepare(ssp->clk);
val = pxa_ssp_read_reg(ssp, SSCR0) | sscr0;
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index b51d7a0..3926cd8 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -31,7 +31,8 @@ static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
dma = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
/* return if this is a bufferless transfer e.g.
- * codec <--> BT codec or GSM modem -- lg FIXME */
+ * codec <--> BT codec or GSM modem -- lg
+ */
if (!dma)
return 0;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ASoC: pxa: Added */ to the next line
@ 2017-02-25 21:20 ` Codrut Grosu
0 siblings, 0 replies; 3+ messages in thread
From: Codrut Grosu @ 2017-02-25 21:20 UTC (permalink / raw)
To: perex, daniel, robert.jarzmik, haojian.zhuang, tiwai,
philipp.zabel, lost.distance
Cc: alsa-devel, lgirdwood, linux-kernel, Codrut Grosu, broonie,
linux-arm-kernel
This was reported by checkpatch.pl
Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
---
sound/soc/pxa/hx4700.c | 3 ++-
sound/soc/pxa/pxa-ssp.c | 3 ++-
sound/soc/pxa/pxa2xx-pcm.c | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c
index 8548304..17c2e67 100644
--- a/sound/soc/pxa/hx4700.c
+++ b/sound/soc/pxa/hx4700.c
@@ -70,7 +70,8 @@ static int hx4700_hw_params(struct snd_pcm_substream *substream,
return ret;
/* inform codec driver about clock freq *
- * (PXA I2S always uses divider 256) */
+ * (PXA I2S always uses divider 256)
+ */
ret = snd_soc_dai_set_sysclk(codec_dai, 0, 256 * params_rate(params),
SND_SOC_CLOCK_IN);
if (ret < 0)
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 3cad990..3bdace6 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -254,7 +254,8 @@ static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
}
/* The SSP clock must be disabled when changing SSP clock mode
- * on PXA2xx. On PXA3xx it must be enabled when doing so. */
+ * on PXA2xx. On PXA3xx it must be enabled when doing so.
+ */
if (ssp->type != PXA3xx_SSP)
clk_disable_unprepare(ssp->clk);
val = pxa_ssp_read_reg(ssp, SSCR0) | sscr0;
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index b51d7a0..3926cd8 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -31,7 +31,8 @@ static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
dma = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
/* return if this is a bufferless transfer e.g.
- * codec <--> BT codec or GSM modem -- lg FIXME */
+ * codec <--> BT codec or GSM modem -- lg
+ */
if (!dma)
return 0;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ASoC: pxa: Added */ to the next line
@ 2017-02-25 21:20 ` Codrut Grosu
0 siblings, 0 replies; 3+ messages in thread
From: Codrut Grosu @ 2017-02-25 21:20 UTC (permalink / raw)
To: linux-arm-kernel
This was reported by checkpatch.pl
Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
---
sound/soc/pxa/hx4700.c | 3 ++-
sound/soc/pxa/pxa-ssp.c | 3 ++-
sound/soc/pxa/pxa2xx-pcm.c | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c
index 8548304..17c2e67 100644
--- a/sound/soc/pxa/hx4700.c
+++ b/sound/soc/pxa/hx4700.c
@@ -70,7 +70,8 @@ static int hx4700_hw_params(struct snd_pcm_substream *substream,
return ret;
/* inform codec driver about clock freq *
- * (PXA I2S always uses divider 256) */
+ * (PXA I2S always uses divider 256)
+ */
ret = snd_soc_dai_set_sysclk(codec_dai, 0, 256 * params_rate(params),
SND_SOC_CLOCK_IN);
if (ret < 0)
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 3cad990..3bdace6 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -254,7 +254,8 @@ static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
}
/* The SSP clock must be disabled when changing SSP clock mode
- * on PXA2xx. On PXA3xx it must be enabled when doing so. */
+ * on PXA2xx. On PXA3xx it must be enabled when doing so.
+ */
if (ssp->type != PXA3xx_SSP)
clk_disable_unprepare(ssp->clk);
val = pxa_ssp_read_reg(ssp, SSCR0) | sscr0;
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index b51d7a0..3926cd8 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -31,7 +31,8 @@ static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
dma = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
/* return if this is a bufferless transfer e.g.
- * codec <--> BT codec or GSM modem -- lg FIXME */
+ * codec <--> BT codec or GSM modem -- lg
+ */
if (!dma)
return 0;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-25 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 21:20 [PATCH] ASoC: pxa: Added */ to the next line Codrut Grosu
2017-02-25 21:20 ` Codrut Grosu
2017-02-25 21:20 ` Codrut Grosu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.