diff options
author | Jaroslav Kysela <perex@perex.cz> | 2021-02-10 09:37:13 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-02-10 10:31:53 +0100 |
commit | 2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96 (patch) | |
tree | 8647c543e395e6b6b5fcf92b510b07e01dc1aa4a /sound/core/sound.c | |
parent | 5427c7d6296ee574037c4a6649ac45a9474d1f13 (diff) | |
download | linux-2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96.tar.gz linux-2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96.tar.bz2 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/sound.c')
-rw-r--r-- | sound/core/sound.c | 2 |
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 "?"; } |