aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <[email protected]>2021-02-10 09:37:13 +0100
committerTakashi Iwai <[email protected]>2021-02-10 10:31:53 +0100
commit2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96 (patch)
tree8647c543e395e6b6b5fcf92b510b07e01dc1aa4a
parent5427c7d6296ee574037c4a6649ac45a9474d1f13 (diff)
ALSA: core - add missing compress device type to /proc/asound/devices
Signed-off-by: Jaroslav Kysela <[email protected]> Acked-by: Vinod Koul <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
-rw-r--r--sound/core/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/sound.c b/sound/core/sound.c
index 2f759febe365..af89e51dd44a 100644
--- a/sound/core/sound.c
+++ b/sound/core/sound.c
@@ -343,6 +343,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 "?";
}