diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-10-02 22:08:53 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-14 22:25:54 -0400 |
commit | 2a8c8a569ff3631f6b6d82ea17c57b9f064b2a7b (patch) | |
tree | 4fc43d35dd78cd85fdbe46d0b7caa06ff69651cc /sound | |
parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) |
ASoC: fsi: fixup channels_min/max
FSI can support 1 - 8 channel input/output,
but current driver is supporting 2 channel format only.
This patch fixes channel mismatch
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sh/fsi.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 5328ae5539f1..c9927a22148e 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1497,7 +1497,7 @@ static struct snd_pcm_hardware fsi_pcm_hardware = { | |||
1497 | .rates = FSI_RATES, | 1497 | .rates = FSI_RATES, |
1498 | .rate_min = 8000, | 1498 | .rate_min = 8000, |
1499 | .rate_max = 192000, | 1499 | .rate_max = 192000, |
1500 | .channels_min = 1, | 1500 | .channels_min = 2, |
1501 | .channels_max = 2, | 1501 | .channels_max = 2, |
1502 | .buffer_bytes_max = 64 * 1024, | 1502 | .buffer_bytes_max = 64 * 1024, |
1503 | .period_bytes_min = 32, | 1503 | .period_bytes_min = 32, |
@@ -1585,14 +1585,14 @@ static struct snd_soc_dai_driver fsi_soc_dai[] = { | |||
1585 | .playback = { | 1585 | .playback = { |
1586 | .rates = FSI_RATES, | 1586 | .rates = FSI_RATES, |
1587 | .formats = FSI_FMTS, | 1587 | .formats = FSI_FMTS, |
1588 | .channels_min = 1, | 1588 | .channels_min = 2, |
1589 | .channels_max = 8, | 1589 | .channels_max = 2, |
1590 | }, | 1590 | }, |
1591 | .capture = { | 1591 | .capture = { |
1592 | .rates = FSI_RATES, | 1592 | .rates = FSI_RATES, |
1593 | .formats = FSI_FMTS, | 1593 | .formats = FSI_FMTS, |
1594 | .channels_min = 1, | 1594 | .channels_min = 2, |
1595 | .channels_max = 8, | 1595 | .channels_max = 2, |
1596 | }, | 1596 | }, |
1597 | .ops = &fsi_dai_ops, | 1597 | .ops = &fsi_dai_ops, |
1598 | }, | 1598 | }, |
@@ -1601,14 +1601,14 @@ static struct snd_soc_dai_driver fsi_soc_dai[] = { | |||
1601 | .playback = { | 1601 | .playback = { |
1602 | .rates = FSI_RATES, | 1602 | .rates = FSI_RATES, |
1603 | .formats = FSI_FMTS, | 1603 | .formats = FSI_FMTS, |
1604 | .channels_min = 1, | 1604 | .channels_min = 2, |
1605 | .channels_max = 8, | 1605 | .channels_max = 2, |
1606 | }, | 1606 | }, |
1607 | .capture = { | 1607 | .capture = { |
1608 | .rates = FSI_RATES, | 1608 | .rates = FSI_RATES, |
1609 | .formats = FSI_FMTS, | 1609 | .formats = FSI_FMTS, |
1610 | .channels_min = 1, | 1610 | .channels_min = 2, |
1611 | .channels_max = 8, | 1611 | .channels_max = 2, |
1612 | }, | 1612 | }, |
1613 | .ops = &fsi_dai_ops, | 1613 | .ops = &fsi_dai_ops, |
1614 | }, | 1614 | }, |