summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/nau8825.c
diff options
context:
space:
mode:
authorDavid Lin <CTLIN0@nuvoton.com>2022-07-08 08:46:48 +0300
committerMark Brown <broonie@kernel.org>2022-07-08 13:52:55 +0300
commit0ca3d2ba1dfd110bf5e0b25ebeb8f1e1587598fb (patch)
treea5d65b592565219155e6409f1ea71e307e4a6fc1 /sound/soc/codecs/nau8825.c
parent657efd9c985255960cdd90bafc382a39dc303277 (diff)
downloadlinux-0ca3d2ba1dfd110bf5e0b25ebeb8f1e1587598fb.tar.xz
ASoC: nau8825: Declare 2 channels for DAI of capture stream
The patch is to make driver with flexibility for more platforms support even if the internal design is just one ADC. Besides, many I2S controllers only support 2 channels. Signed-off-by: David Lin <CTLIN0@nuvoton.com> Link: https://lore.kernel.org/r/20220708054647.540621-1-CTLIN0@nuvoton.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/nau8825.c')
-rw-r--r--sound/soc/codecs/nau8825.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/nau8825.c b/sound/soc/codecs/nau8825.c
index 907ec88c759a..54ef7b0fa878 100644
--- a/sound/soc/codecs/nau8825.c
+++ b/sound/soc/codecs/nau8825.c
@@ -1440,7 +1440,7 @@ static struct snd_soc_dai_driver nau8825_dai = {
.capture = {
.stream_name = "Capture",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2, /* Only 1 channel of data */
.rates = NAU8825_RATES,
.formats = NAU8825_FORMATS,
},