mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ASoC: rockchip: multi-dais: Add support for more capabilities
* support samplerate up to 384k * support channel range from mono to 512ch Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: I4a7d85ea77cabbb1ce6e9f1fc237d83443ab13b1
This commit is contained in:
@@ -403,9 +403,9 @@ static int rockchip_mdais_dai_prepare(struct platform_device *pdev,
|
||||
.probe = rockchip_mdais_dai_probe,
|
||||
.playback = {
|
||||
.stream_name = "Playback",
|
||||
.channels_min = 2,
|
||||
.channels_max = 32,
|
||||
.rates = SNDRV_PCM_RATE_8000_192000,
|
||||
.channels_min = 1,
|
||||
.channels_max = 512,
|
||||
.rates = SNDRV_PCM_RATE_8000_384000,
|
||||
.formats = (SNDRV_PCM_FMTBIT_S8 |
|
||||
SNDRV_PCM_FMTBIT_S16_LE |
|
||||
SNDRV_PCM_FMTBIT_S20_3LE |
|
||||
@@ -414,9 +414,9 @@ static int rockchip_mdais_dai_prepare(struct platform_device *pdev,
|
||||
},
|
||||
.capture = {
|
||||
.stream_name = "Capture",
|
||||
.channels_min = 2,
|
||||
.channels_max = 32,
|
||||
.rates = SNDRV_PCM_RATE_8000_192000,
|
||||
.channels_min = 1,
|
||||
.channels_max = 512,
|
||||
.rates = SNDRV_PCM_RATE_8000_384000,
|
||||
.formats = (SNDRV_PCM_FMTBIT_S8 |
|
||||
SNDRV_PCM_FMTBIT_S16_LE |
|
||||
SNDRV_PCM_FMTBIT_S20_3LE |
|
||||
|
||||
Reference in New Issue
Block a user