diff mbox series

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

Message ID 20210210083713.1034201-1-perex@perex.cz
State Accepted
Commit 2c28156d88aa36ee8d45a3e68cc7eaa7d919dd96
Headers show
Series ALSA: core - add missing compress device type to /proc/asound/devices | expand

Commit Message

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

Comments

Vinod Koul Feb. 10, 2021, 9:09 a.m. UTC | #1
On 10-02-21, 09:37, Jaroslav Kysela wrote:
> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
> Cc: Vinod Koul <vkoul@kernel.org>

Acked-By: 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
diff mbox series

Patch

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 "?";
 	}