aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/pcm.c')
-rw-r--r--sound/core/pcm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c
index 61798f85d030..17f45e8aa89c 100644
--- a/sound/core/pcm.c
+++ b/sound/core/pcm.c
@@ -209,6 +209,8 @@ static char *snd_pcm_format_names[] = {
209 FORMAT(G723_24_1B), 209 FORMAT(G723_24_1B),
210 FORMAT(G723_40), 210 FORMAT(G723_40),
211 FORMAT(G723_40_1B), 211 FORMAT(G723_40_1B),
212 FORMAT(DSD_U8),
213 FORMAT(DSD_U16_LE),
212}; 214};
213 215
214const char *snd_pcm_format_name(snd_pcm_format_t format) 216const char *snd_pcm_format_name(snd_pcm_format_t format)
@@ -637,7 +639,7 @@ static inline int snd_pcm_substream_proc_done(struct snd_pcm_substream *substrea
637 * calling this, i.e. zero must be given to the argument of 639 * calling this, i.e. zero must be given to the argument of
638 * snd_pcm_new(). 640 * snd_pcm_new().
639 * 641 *
640 * Returns zero if successful, or a negative error code on failure. 642 * Return: Zero if successful, or a negative error code on failure.
641 */ 643 */
642int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) 644int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count)
643{ 645{
@@ -759,7 +761,7 @@ static int _snd_pcm_new(struct snd_card *card, const char *id, int device,
759 * The pcm operators have to be set afterwards to the new instance 761 * The pcm operators have to be set afterwards to the new instance
760 * via snd_pcm_set_ops(). 762 * via snd_pcm_set_ops().
761 * 763 *
762 * Returns zero if successful, or a negative error code on failure. 764 * Return: Zero if successful, or a negative error code on failure.
763 */ 765 */
764int snd_pcm_new(struct snd_card *card, const char *id, int device, 766int snd_pcm_new(struct snd_card *card, const char *id, int device,
765 int playback_count, int capture_count, struct snd_pcm **rpcm) 767 int playback_count, int capture_count, struct snd_pcm **rpcm)
@@ -787,7 +789,7 @@ EXPORT_SYMBOL(snd_pcm_new);
787 * The pcm operators have to be set afterwards to the new instance 789 * The pcm operators have to be set afterwards to the new instance
788 * via snd_pcm_set_ops(). 790 * via snd_pcm_set_ops().
789 * 791 *
790 * Returns zero if successful, or a negative error code on failure. 792 * Return: Zero if successful, or a negative error code on failure.
791 */ 793 */
792int snd_pcm_new_internal(struct snd_card *card, const char *id, int device, 794int snd_pcm_new_internal(struct snd_card *card, const char *id, int device,
793 int playback_count, int capture_count, 795 int playback_count, int capture_count,