summaryrefslogtreecommitdiffstats
path: root/sound/core/pcm.c
diff options
context:
space:
mode:
authorJussi Laako <jussi@sonarnerd.net>2014-11-21 15:04:46 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-21 15:13:28 +0100
commitd42472ecffd7c42086c6e5b1335c99a3adf58a09 (patch)
treeb4d2e62d64cd8d1b269664c9fdee8083c05df574 /sound/core/pcm.c
parentALSA: hda - One more HP machine needs to change mute led quirk (diff)
downloadlinux-d42472ecffd7c42086c6e5b1335c99a3adf58a09.tar.xz
linux-d42472ecffd7c42086c6e5b1335c99a3adf58a09.zip
ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample format
This patch fixes XMOS DSD sample format to DSD_U32_BE and also adds DSD_U16_BE and DSD_U32_BE sample formats. Signed-off-by: Jussi Laako <jussi@sonarnerd.net> Acked-by: Jurgen Kramer <gtmkramer@xs4all.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm.c')
-rw-r--r--sound/core/pcm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c
index 42ded997b223..c6ff94ab1ad6 100644
--- a/sound/core/pcm.c
+++ b/sound/core/pcm.c
@@ -216,6 +216,8 @@ static char *snd_pcm_format_names[] = {
FORMAT(DSD_U8),
FORMAT(DSD_U16_LE),
FORMAT(DSD_U32_LE),
+ FORMAT(DSD_U16_BE),
+ FORMAT(DSD_U32_BE),
};
const char *snd_pcm_format_name(snd_pcm_format_t format)