Applied "ASoC: stm32: sai: typo fixes" to the asoc tree

2017-06-16 Thread Mark Brown
The patch

   ASoC: stm32: sai: typo fixes

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 25a1fd2b6e5ca2d5d4f8a877975abc71155efd6a Mon Sep 17 00:00:00 2001
From: olivier moysan <olivier.moy...@st.com>
Date: Fri, 16 Jun 2017 14:15:30 +0200
Subject: [PATCH] ASoC: stm32: sai: typo fixes

Fix typos in sai driver.

Signed-off-by: olivier moysan <olivier.moy...@st.com>
Signed-off-by: Mark Brown <broo...@kernel.org>
---
 sound/soc/stm/stm32_sai.c |  2 +-
 sound/soc/stm/stm32_sai.h |  1 -
 sound/soc/stm/stm32_sai_sub.c | 28 ++--
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 2a27a26bf7a1..6159d66c2c54 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -110,6 +110,6 @@ static struct platform_driver stm32_sai_driver = {
 module_platform_driver(stm32_sai_driver);
 
 MODULE_DESCRIPTION("STM32 Soc SAI Interface");
-MODULE_AUTHOR("Olivier Moysan, <olivier.moy...@st.com>");
+MODULE_AUTHOR("Olivier Moysan <olivier.moy...@st.com>");
 MODULE_ALIAS("platform:st,stm32-sai");
 MODULE_LICENSE("GPL v2");
diff --git a/sound/soc/stm/stm32_sai.h b/sound/soc/stm/stm32_sai.h
index a801fda5066f..270be93b845e 100644
--- a/sound/soc/stm/stm32_sai.h
+++ b/sound/soc/stm/stm32_sai.h
@@ -125,7 +125,6 @@
 #define SAI_XFRCR_FSOFFBIT(SAI_XFRCR_FSOFF_SHIFT)
 
 /** Bit definition for SAI_XSLOTR register **/
-
 #define SAI_XSLOTR_FBOFF_SHIFT 0
 #define SAI_XSLOTR_FBOFF_MASK  GENMASK(4, SAI_XSLOTR_FBOFF_SHIFT)
 #define SAI_XSLOTR_FBOFF_SET(x)((x) << SAI_XSLOTR_FBOFF_SHIFT)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index ae4706ca265b..d7aeed3ec3c8 100644
--- a/sound/soc/stm/stm32_sai_sub.c
+++ b/sound/soc/stm/stm32_sai_sub.c
@@ -181,29 +181,29 @@ static irqreturn_t stm32_sai_isr(int irq, void *devid)
   SAI_XCLRFR_MASK);
 
if (flags & SAI_XIMR_OVRUDRIE) {
-   dev_err(>dev, "IT %s\n",
+   dev_err(>dev, "IRQ %s\n",
STM_SAI_IS_PLAYBACK(sai) ? "underrun" : "overrun");
status = SNDRV_PCM_STATE_XRUN;
}
 
if (flags & SAI_XIMR_MUTEDETIE)
-   dev_dbg(>dev, "IT mute detected\n");
+   dev_dbg(>dev, "IRQ mute detected\n");
 
if (flags & SAI_XIMR_WCKCFGIE) {
-   dev_err(>dev, "IT wrong clock configuration\n");
+   dev_err(>dev, "IRQ wrong clock configuration\n");
status = SNDRV_PCM_STATE_DISCONNECTED;
}
 
if (flags & SAI_XIMR_CNRDYIE)
-   dev_warn(>dev, "IT Codec not ready\n");
+   dev_err(>dev, "IRQ Codec not ready\n");
 
if (flags & SAI_XIMR_AFSDETIE) {
-   dev_warn(>dev, "IT Anticipated frame synchro\n");
+   dev_err(>dev, "IRQ Anticipated frame synchro\n");
status = SNDRV_PCM_STATE_XRUN;
}
 
if (flags & SAI_XIMR_LFSDETIE) {
-   dev_warn(>dev, "IT Late frame synchro\n");
+   dev_err(>dev, "IRQ Late frame synchro\n");
status = SNDRV_PCM_STATE_XRUN;
}
 
@@ -235,7 +235,7 @@ static int stm32_sai_set_dai_tdm_slot(struct snd_soc_dai 
*cpu_dai, u32 tx_mask,
struct stm32_sai_sub_data *sai = snd_soc_dai_get_drvdata(cpu_dai);
int slotr, slotr_mask, slot_size;
 
-   dev_dbg(cpu_dai->dev, "masks tx/rx:%#x/%#x, slots:%d, width:%d\n",
+   dev_dbg(cpu_dai->dev, "Masks tx/rx:%#x/%#x, slots:%d, width:%d\n",
tx_mask, rx_mask, slots, slot_width);
 
switch (slot_width) {
@@ -377,7 +377,7 @@ static int stm32_sai_startup(struct snd_pcm_substream 
*substream,
 
ret = clk_prepare_enable(sai->sai_ck);
if (ret < 0) {
-   dev_er

Applied "ASoC: stm32: sai: typo fixes" to the asoc tree

2017-06-16 Thread Mark Brown
The patch

   ASoC: stm32: sai: typo fixes

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 25a1fd2b6e5ca2d5d4f8a877975abc71155efd6a Mon Sep 17 00:00:00 2001
From: olivier moysan 
Date: Fri, 16 Jun 2017 14:15:30 +0200
Subject: [PATCH] ASoC: stm32: sai: typo fixes

Fix typos in sai driver.

Signed-off-by: olivier moysan 
Signed-off-by: Mark Brown 
---
 sound/soc/stm/stm32_sai.c |  2 +-
 sound/soc/stm/stm32_sai.h |  1 -
 sound/soc/stm/stm32_sai_sub.c | 28 ++--
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 2a27a26bf7a1..6159d66c2c54 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -110,6 +110,6 @@ static struct platform_driver stm32_sai_driver = {
 module_platform_driver(stm32_sai_driver);
 
 MODULE_DESCRIPTION("STM32 Soc SAI Interface");
-MODULE_AUTHOR("Olivier Moysan, ");
+MODULE_AUTHOR("Olivier Moysan ");
 MODULE_ALIAS("platform:st,stm32-sai");
 MODULE_LICENSE("GPL v2");
diff --git a/sound/soc/stm/stm32_sai.h b/sound/soc/stm/stm32_sai.h
index a801fda5066f..270be93b845e 100644
--- a/sound/soc/stm/stm32_sai.h
+++ b/sound/soc/stm/stm32_sai.h
@@ -125,7 +125,6 @@
 #define SAI_XFRCR_FSOFFBIT(SAI_XFRCR_FSOFF_SHIFT)
 
 /** Bit definition for SAI_XSLOTR register **/
-
 #define SAI_XSLOTR_FBOFF_SHIFT 0
 #define SAI_XSLOTR_FBOFF_MASK  GENMASK(4, SAI_XSLOTR_FBOFF_SHIFT)
 #define SAI_XSLOTR_FBOFF_SET(x)((x) << SAI_XSLOTR_FBOFF_SHIFT)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index ae4706ca265b..d7aeed3ec3c8 100644
--- a/sound/soc/stm/stm32_sai_sub.c
+++ b/sound/soc/stm/stm32_sai_sub.c
@@ -181,29 +181,29 @@ static irqreturn_t stm32_sai_isr(int irq, void *devid)
   SAI_XCLRFR_MASK);
 
if (flags & SAI_XIMR_OVRUDRIE) {
-   dev_err(>dev, "IT %s\n",
+   dev_err(>dev, "IRQ %s\n",
STM_SAI_IS_PLAYBACK(sai) ? "underrun" : "overrun");
status = SNDRV_PCM_STATE_XRUN;
}
 
if (flags & SAI_XIMR_MUTEDETIE)
-   dev_dbg(>dev, "IT mute detected\n");
+   dev_dbg(>dev, "IRQ mute detected\n");
 
if (flags & SAI_XIMR_WCKCFGIE) {
-   dev_err(>dev, "IT wrong clock configuration\n");
+   dev_err(>dev, "IRQ wrong clock configuration\n");
status = SNDRV_PCM_STATE_DISCONNECTED;
}
 
if (flags & SAI_XIMR_CNRDYIE)
-   dev_warn(>dev, "IT Codec not ready\n");
+   dev_err(>dev, "IRQ Codec not ready\n");
 
if (flags & SAI_XIMR_AFSDETIE) {
-   dev_warn(>dev, "IT Anticipated frame synchro\n");
+   dev_err(>dev, "IRQ Anticipated frame synchro\n");
status = SNDRV_PCM_STATE_XRUN;
}
 
if (flags & SAI_XIMR_LFSDETIE) {
-   dev_warn(>dev, "IT Late frame synchro\n");
+   dev_err(>dev, "IRQ Late frame synchro\n");
status = SNDRV_PCM_STATE_XRUN;
}
 
@@ -235,7 +235,7 @@ static int stm32_sai_set_dai_tdm_slot(struct snd_soc_dai 
*cpu_dai, u32 tx_mask,
struct stm32_sai_sub_data *sai = snd_soc_dai_get_drvdata(cpu_dai);
int slotr, slotr_mask, slot_size;
 
-   dev_dbg(cpu_dai->dev, "masks tx/rx:%#x/%#x, slots:%d, width:%d\n",
+   dev_dbg(cpu_dai->dev, "Masks tx/rx:%#x/%#x, slots:%d, width:%d\n",
tx_mask, rx_mask, slots, slot_width);
 
switch (slot_width) {
@@ -377,7 +377,7 @@ static int stm32_sai_startup(struct snd_pcm_substream 
*substream,
 
ret = clk_prepare_enable(sai->sai_ck);
if (ret < 0) {
-   dev_err(cpu_dai->dev, "failed to enable clock: %d\n", ret);
+   dev_err(cpu_dai->dev, "Failed to enable clock: %d\