Skip to contentSkip to conversation

Fix v2: Revert 'ASoC: imx-ssi: Remove mono support'.

PATCH In review Gaëtan Carlier 1 participant 2 messages Sep 6, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix v2: Revert 'ASoC: imx-ssi: Remove mono support'.

When patch of Javier Martin is applied on linux-next-20120824 the patch failed because comment line is missing.

---
 sound/soc/fsl/imx-ssi.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
sound/soc/fsl/imx-ssi.c +2 -3
index 7074ae6..3c520c4 100644
@@ -380,14 +380,13 @@ static int imx_ssi_dai_probe(struct snd_soc_dai *dai)
 static struct snd_soc_dai_driver imx_ssi_dai = {
 	.probe = imx_ssi_dai_probe,
 	.playback = {
-		/* The SSI does not support monaural audio. */
-		.channels_min = 2,
+		.channels_min = 1,
 		.channels_max = 2,
 		.rates = SNDRV_PCM_RATE_8000_96000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 	.capture = {
-		.channels_min = 2,
+		.channels_min = 1,
 		.channels_max = 2,
 		.rates = SNDRV_PCM_RATE_8000_96000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE,
Signature · 1 line
1.7.7.4
#1 lore raw

Hi,
Sorry I missed the patch send by Fabio earlier.
Ignore this one.
Regards,
Ga?tan Carlier.

Quoted 31 lines · Ga?tan Carlier

When patch of Javier Martin is applied on linux-next-20120824 the patch failed because comment line is missing.

---
  sound/soc/fsl/imx-ssi.c |    5 ++---
  1 files changed, 2 insertions(+), 3 deletions(-)
sound/soc/fsl/imx-ssi.c +2 -3
index 7074ae6..3c520c4 100644
@@ -380,14 +380,13 @@ static int imx_ssi_dai_probe(struct snd_soc_dai *dai)
  static struct snd_soc_dai_driver imx_ssi_dai = {
  	.probe = imx_ssi_dai_probe,
  	.playback = {
-		/* The SSI does not support monaural audio. */
-		.channels_min = 2,
+		.channels_min = 1,
  		.channels_max = 2,
  		.rates = SNDRV_PCM_RATE_8000_96000,
  		.formats = SNDRV_PCM_FMTBIT_S16_LE,
  	},
  	.capture = {
-		.channels_min = 2,
+		.channels_min = 1,
  		.channels_max = 2,
  		.rates = SNDRV_PCM_RATE_8000_96000,
  		.formats = SNDRV_PCM_FMTBIT_S16_LE,