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

Vinod Koul vkoul at kernel.org
Wed Feb 10 10:09:09 CET 2021


On 10-02-21, 09:37, Jaroslav Kysela wrote:
> Signed-off-by: Jaroslav Kysela <perex at perex.cz>
> Cc: Vinod Koul <vkoul at kernel.org>

Acked-By: 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

-- 
~Vinod


More information about the Alsa-devel mailing list