[PATCH] ALSA: core - add missing compress device type to /proc/asound/devices

Jaroslav Kysela perex at perex.cz
Wed Feb 10 09:37:13 CET 2021


Signed-off-by: Jaroslav Kysela <perex at perex.cz>
Cc: Vinod Koul <vkoul at 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


More information about the Alsa-devel mailing list