All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaroslav Kysela <perex@perex.cz>
To: ALSA development <alsa-devel@alsa-project.org>
Cc: Takashi Iwai <tiwai@suse.de>, Vinod Koul <vkoul@kernel.org>
Subject: [PATCH] ALSA: core - add missing compress device type to /proc/asound/devices
Date: Wed, 10 Feb 2021 09:37:13 +0100	[thread overview]
Message-ID: <20210210083713.1034201-1-perex@perex.cz> (raw)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Cc: Vinod Koul <vkoul@kernel.org>
---
 sound/core/sound.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/core/sound.c b/sound/core/sound.c
index b75f78f2c4b8..302b6d12ab2b 100644
--- a/sound/core/sound.c
+++ b/sound/core/sound.c
@@ -337,6 +337,8 @@ static const char *snd_device_type_name(int type)
 		return "sequencer";
 	case SNDRV_DEVICE_TYPE_TIMER:
 		return "timer";
+	case SNDRV_DEVICE_TYPE_COMPRESS:
+		return "compress";
 	default:
 		return "?";
 	}
-- 
2.29.2

             reply	other threads:[~2021-02-10  8:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-10  8:37 Jaroslav Kysela [this message]
2021-02-10  9:09 ` [PATCH] ALSA: core - add missing compress device type to /proc/asound/devices Vinod Koul
2021-02-10  9:32 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210210083713.1034201-1-perex@perex.cz \
    --to=perex@perex.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.