audio-kernel-ar: Set audio limit to 32ch/96kHz
Increase TDM interface max ch to 32 and max rate to 96kHz. Change-Id: Icaabacff20bc08d98e0f4a6b47feaf8c09aee585 Signed-off-by: peizhong <quic_peizhong@quicinc.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/* Copyright (c) 2011-2014, 2017-2019 The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2011-2014, 2017-2019 The Linux Foundation. All rights reserved.
|
||||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
@@ -20,8 +20,8 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
|
|||||||
.playback = { /* Support maximum range */
|
.playback = { /* Support maximum range */
|
||||||
.stream_name = "Playback",
|
.stream_name = "Playback",
|
||||||
.channels_min = 1,
|
.channels_min = 1,
|
||||||
.channels_max = 8,
|
.channels_max = 32,
|
||||||
.rates = SNDRV_PCM_RATE_8000_48000,
|
.rates = SNDRV_PCM_RATE_8000_96000,
|
||||||
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
|
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
|
||||||
SNDRV_PCM_FMTBIT_S24_LE |
|
SNDRV_PCM_FMTBIT_S24_LE |
|
||||||
SNDRV_PCM_FMTBIT_S24_3LE |
|
SNDRV_PCM_FMTBIT_S24_3LE |
|
||||||
@@ -33,8 +33,8 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
|
|||||||
.capture = { /* Support maximum range */
|
.capture = { /* Support maximum range */
|
||||||
.stream_name = "Record",
|
.stream_name = "Record",
|
||||||
.channels_min = 1,
|
.channels_min = 1,
|
||||||
.channels_max = 8,
|
.channels_max = 32,
|
||||||
.rates = SNDRV_PCM_RATE_8000_48000,
|
.rates = SNDRV_PCM_RATE_8000_96000,
|
||||||
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
|
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
|
||||||
SNDRV_PCM_FMTBIT_S24_LE |
|
SNDRV_PCM_FMTBIT_S24_LE |
|
||||||
SNDRV_PCM_FMTBIT_S24_3LE |
|
SNDRV_PCM_FMTBIT_S24_3LE |
|
||||||
|
Reference in New Issue
Block a user