ASoC: rockchip: i2s: Add SNDRV_PCM_FMTBIT_S32_LE support
Subsystems (3)
PATCH 1/1 ASoC: rockchip: i2s: Add SNDRV_PCM_FMTBIT_S32_LE support
--- sound/soc/rockchip/rockchip_i2s.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
sound/soc/rockchip/rockchip_i2s.c +7 -2
@@ -242,6 +242,9 @@ static int rockchip_i2s_hw_params(struct snd_pcm_substream *substream,case SNDRV_PCM_FORMAT_S24_LE : val |=I2S_TXCR_VDW (24 );break ; +case SNDRV_PCM_FORMAT_S32_LE : + val |=I2S_TXCR_VDW (32 ); +break ;default :return -EINVAL ; }
@@ -360,7 +363,8 @@ static struct snd_soc_dai_driver rockchip_i2s_dai = { .formats = (SNDRV_PCM_FMTBIT_S8 |SNDRV_PCM_FMTBIT_S16_LE |SNDRV_PCM_FMTBIT_S20_3LE | - SNDRV_PCM_FMTBIT_S24_LE), +SNDRV_PCM_FMTBIT_S24_LE | + SNDRV_PCM_FMTBIT_S32_LE), }, .capture = { .stream_name = "Capture",
@@ -370,7 +374,8 @@ static struct snd_soc_dai_driver rockchip_i2s_dai = { .formats = (SNDRV_PCM_FMTBIT_S8 |SNDRV_PCM_FMTBIT_S16_LE |SNDRV_PCM_FMTBIT_S20_3LE | - SNDRV_PCM_FMTBIT_S24_LE), +SNDRV_PCM_FMTBIT_S24_LE | + SNDRV_PCM_FMTBIT_S32_LE), }, .ops = &rockchip_i2s_dai_ops, .symmetric_rates = 1,
Signature · 1 line
2.7.0
Mark Brown
maintainerApplied "ASoC: rockchip: i2s: Add SNDRV_PCM_FMTBIT_S32_LE support" to the asoc tree
The patch
ASoC: rockchip: i2s: Add SNDRV_PCM_FMTBIT_S32_LE support
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
4ab936d1aca69978dc738592a00e34f836bda1c3Mon Sep 17 00:00:00 2001
From: Michael Trimarchi <[email protected]>
Date: Sat, 9 Jan 2016 23:47:58 +0100
Subject: [PATCH] ASoC: rockchip: i2s: Add SNDRV_PCM_FMTBIT_S32_LE support
--- sound/soc/rockchip/rockchip_i2s.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
sound/soc/rockchip/rockchip_i2s.c +7 -2
@@ -242,6 +242,9 @@ static int rockchip_i2s_hw_params(struct snd_pcm_substream *substream,case SNDRV_PCM_FORMAT_S24_LE : val |=I2S_TXCR_VDW (24 );break ; +case SNDRV_PCM_FORMAT_S32_LE : + val |=I2S_TXCR_VDW (32 ); +break ;default :return -EINVAL ; }
@@ -360,7 +363,8 @@ static struct snd_soc_dai_driver rockchip_i2s_dai = { .formats = (SNDRV_PCM_FMTBIT_S8 |SNDRV_PCM_FMTBIT_S16_LE |SNDRV_PCM_FMTBIT_S20_3LE | - SNDRV_PCM_FMTBIT_S24_LE), +SNDRV_PCM_FMTBIT_S24_LE | + SNDRV_PCM_FMTBIT_S32_LE), }, .capture = { .stream_name = "Capture",
@@ -370,7 +374,8 @@ static struct snd_soc_dai_driver rockchip_i2s_dai = { .formats = (SNDRV_PCM_FMTBIT_S8 |SNDRV_PCM_FMTBIT_S16_LE |SNDRV_PCM_FMTBIT_S20_3LE | - SNDRV_PCM_FMTBIT_S24_LE), +SNDRV_PCM_FMTBIT_S24_LE | + SNDRV_PCM_FMTBIT_S32_LE), }, .ops = &rockchip_i2s_dai_ops, .symmetric_rates = 1,
Signature · 1 line
2.7.0.rc3