ASoC: mc13783: Remove mono support
Playing a mono track on a mc13783 codec results in incorrect playback rate. Remove mono support so that a mono track can be played correctly. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Gaëtan Carlier <gcembed@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
4758be37c0
commit
37f45cc54c
1 changed files with 4 additions and 4 deletions
|
@ -659,7 +659,7 @@ static struct snd_soc_dai_driver mc13783_dai_async[] = {
|
|||
.id = MC13783_ID_STEREO_DAC,
|
||||
.playback = {
|
||||
.stream_name = "Playback",
|
||||
.channels_min = 1,
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
.rates = SNDRV_PCM_RATE_8000_96000,
|
||||
.formats = MC13783_FORMATS,
|
||||
|
@ -670,7 +670,7 @@ static struct snd_soc_dai_driver mc13783_dai_async[] = {
|
|||
.id = MC13783_ID_STEREO_CODEC,
|
||||
.capture = {
|
||||
.stream_name = "Capture",
|
||||
.channels_min = 1,
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
.rates = MC13783_RATES_RECORD,
|
||||
.formats = MC13783_FORMATS,
|
||||
|
@ -692,14 +692,14 @@ static struct snd_soc_dai_driver mc13783_dai_sync[] = {
|
|||
.id = MC13783_ID_SYNC,
|
||||
.playback = {
|
||||
.stream_name = "Playback",
|
||||
.channels_min = 1,
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
.rates = SNDRV_PCM_RATE_8000_96000,
|
||||
.formats = MC13783_FORMATS,
|
||||
},
|
||||
.capture = {
|
||||
.stream_name = "Capture",
|
||||
.channels_min = 1,
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
.rates = MC13783_RATES_RECORD,
|
||||
.formats = MC13783_FORMATS,
|
||||
|
|
Loading…
Reference in a new issue