projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
[firefly-linux-kernel-4.4.55.git]
/
sound
/
core
/
sound.c
diff --git
a/sound/core/sound.c
b/sound/core/sound.c
index 828af353ea9f17f652d2c7ae154ed550c3c25845..28f35593a750464b87306a5c4355d98333856e36 100644
(file)
--- a/
sound/core/sound.c
+++ b/
sound/core/sound.c
@@
-229,6
+229,7
@@
static int snd_kernel_minor(int type, struct snd_card *card, int dev)
case SNDRV_DEVICE_TYPE_RAWMIDI:
case SNDRV_DEVICE_TYPE_PCM_PLAYBACK:
case SNDRV_DEVICE_TYPE_PCM_CAPTURE:
+ case SNDRV_DEVICE_TYPE_COMPRESS:
if (snd_BUG_ON(!card))
return -EINVAL;
minor = SNDRV_MINOR(card->number, type + dev);