Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4140262 authored by Hugh Guan's avatar Hugh Guan Committed by Gerrit - the friendly Code Review server
Browse files

asoc: msm_stub: increase the max ch to 32



Increase the max ch to 32 for TDM interface.

Signed-off-by: default avatarHugh Guan <quic_hhguan@quicinc.com>
Change-Id: I85bfaa68525668b8ffc9d929bdcf38126cb06c9f
parent ffc848f7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2011-2014, 2017-2019 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
 */
#include <linux/platform_device.h>
#include <linux/slab.h>
@@ -18,7 +19,7 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
		.playback = { /* Support maximum range */
			.stream_name = "Playback",
			.channels_min = 1,
			.channels_max = 8,
			.channels_max = 32,
			.rates = SNDRV_PCM_RATE_8000_48000,
			.formats = SNDRV_PCM_FMTBIT_S16_LE,
		},
@@ -28,7 +29,7 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
		.capture = { /* Support maximum range */
			.stream_name = "Record",
			.channels_min = 1,
			.channels_max = 8,
			.channels_max = 32,
			.rates = SNDRV_PCM_RATE_8000_48000,
			.formats = (SNDRV_PCM_FMTBIT_S16_LE |
				    SNDRV_PCM_FMTBIT_S24_LE),