mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sound: Revert "ALSA: Fix limit of 8 PCM devices in SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE"
This reverts commit fb3d6f2b77bdec75d45aa9d4464287ed87927866. New, updated patch with same subject replaces this commit. Signed-off-by: Jaroslav Kysela <[email protected]>
This commit is contained in:
parent
687fbc3fec
commit
896e6cc20e
5 changed files with 23 additions and 45 deletions
|
|
@ -21,8 +21,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define SNDRV_OS_MINORS 256
|
||||
|
||||
#define SNDRV_MINOR_DEVICES 32
|
||||
#define SNDRV_MINOR_CARD(minor) ((minor) >> 5)
|
||||
#define SNDRV_MINOR_DEVICE(minor) ((minor) & 0x001f)
|
||||
|
|
|
|||
|
|
@ -84,6 +84,8 @@ struct snd_pcm_ops {
|
|||
*
|
||||
*/
|
||||
|
||||
#define SNDRV_PCM_DEVICES 8
|
||||
|
||||
#define SNDRV_PCM_IOCTL1_FALSE ((void *)0)
|
||||
#define SNDRV_PCM_IOCTL1_TRUE ((void *)1)
|
||||
|
||||
|
|
@ -414,7 +416,7 @@ struct snd_pcm_str {
|
|||
struct snd_pcm {
|
||||
struct snd_card *card;
|
||||
struct list_head list;
|
||||
int device; /* device number */
|
||||
unsigned int device; /* device number */
|
||||
unsigned int info_flags;
|
||||
unsigned short dev_class;
|
||||
unsigned short dev_subclass;
|
||||
|
|
|
|||
Loading…
Reference in a new issue