diff mbox

[RFC,5/9] ASoC: hdmi-codec: Add SNDRV_PCM_FMTBIT_32_LE playback format

Message ID ccbca51db46f6f38e3a1233cbdc058dbe0906bfe.1384862950.git.jsarha@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jyri Sarha Nov. 19, 2013, 12:12 p.m. UTC
The new playback format is needed for tda998x HDMI audio support. At
the moment the only other user of this codec is omap-hdmi-audio. This
change should not break anything because omap-hdmi-audio-dai, the
cpu-dai of omap-hdmi-audio, enforces sufficient constraints to
available sample formats.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
 sound/soc/codecs/hdmi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown Nov. 19, 2013, 6:21 p.m. UTC | #1
On Tue, Nov 19, 2013 at 02:12:25PM +0200, Jyri Sarha wrote:
> The new playback format is needed for tda998x HDMI audio support. At
> the moment the only other user of this codec is omap-hdmi-audio. This
> change should not break anything because omap-hdmi-audio-dai, the
> cpu-dai of omap-hdmi-audio, enforces sufficient constraints to
> available sample formats.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c
index 6d2fcf1..9cb1c7d 100644
--- a/sound/soc/codecs/hdmi.c
+++ b/sound/soc/codecs/hdmi.c
@@ -45,7 +45,7 @@  static struct snd_soc_dai_driver hdmi_codec_dai = {
 			SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 |
 			SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE |
-			SNDRV_PCM_FMTBIT_S24_LE,
+			SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,
 	},
 	.capture = {
 		.stream_name = "Capture",