diff mbox series

ASoC: nau8825: Declare 2 channels for DAI of capture stream

Message ID 20220708054647.540621-1-CTLIN0@nuvoton.com (mailing list archive)
State Accepted
Commit 0ca3d2ba1dfd110bf5e0b25ebeb8f1e1587598fb
Headers show
Series ASoC: nau8825: Declare 2 channels for DAI of capture stream | expand

Commit Message

David Lin July 8, 2022, 5:46 a.m. UTC
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>
---
 sound/soc/codecs/nau8825.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown July 8, 2022, 8:47 p.m. UTC | #1
On Fri, 8 Jul 2022 13:46:48 +0800, David Lin wrote:
> 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.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: nau8825: Declare 2 channels for DAI of capture stream
      commit: 0ca3d2ba1dfd110bf5e0b25ebeb8f1e1587598fb

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

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,
 	},