summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2021-02-10 09:37:13 +0100
committerTakashi Iwai <tiwai@suse.de>2021-02-10 10:31:53 +0100
commit2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96 (patch)
tree8647c543e395e6b6b5fcf92b510b07e01dc1aa4a /sound/core
parentALSA: hda: intel-dsp-config: Add SND_INTEL_BYT_PREFER_SOF Kconfig option (diff)
downloadlinux-2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96.tar.xz
linux-2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96.zip
ALSA: core - add missing compress device type to /proc/asound/devices
Signed-off-by: Jaroslav Kysela <perex@perex.cz> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210210083713.1034201-1-perex@perex.cz Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-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 "?";
}