
Currently there are two variants for the FSL SSI driver:
- fsl_ssi.c is the device tree driver version for the FSL SSI driver (used by PowerPC and i.MX)
- imx-ssi.c is the non device tree version that runs on some i.MX processors that are not yet converted to dt.
Commit 0865a7 (ASoC: imx-ssi: Remove mono support) attempted to fix mono audio playback issue inside imx-ssi.c, which according to 104c22 (ASoC: Revert 'ASoC: imx-ssi: Remove mono support' ) caused problem on another i.MX platform.
The original mono playback issue was later fixed inside the mc13783 codec driver.
As the long term goal is to move other platforms to dt, then fsl_ssi needs to have the same fix for channels_min as in imx-ssi.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- Timur,
Can you please try to play a mono track on your PowerPC platform with these series applied?
sound/soc/fsl/fsl_ssi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 4ed2afd..7768b93 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -559,14 +559,13 @@ static const struct snd_soc_dai_ops fsl_ssi_dai_ops = { /* Template for the CPU dai driver structure */ static struct snd_soc_dai_driver fsl_ssi_dai_template = { .playback = { - /* The SSI does not support monaural audio. */ - .channels_min = 2, + .channels_min = 1, .channels_max = 2, .rates = FSLSSI_I2S_RATES, .formats = FSLSSI_I2S_FORMATS, }, .capture = { - .channels_min = 2, + .channels_min = 1, .channels_max = 2, .rates = FSLSSI_I2S_RATES, .formats = FSLSSI_I2S_FORMATS,