ALSA: when card identification is changed, change also /proc/asound symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
9fb6198e8c
commit
c2eb9c4ea3
@@ -126,6 +126,7 @@ int snd_info_card_create(struct snd_card * card);
|
||||
int snd_info_card_register(struct snd_card * card);
|
||||
int snd_info_card_free(struct snd_card * card);
|
||||
void snd_info_card_disconnect(struct snd_card * card);
|
||||
void snd_info_card_id_change(struct snd_card * card);
|
||||
int snd_info_register(struct snd_info_entry * entry);
|
||||
|
||||
/* for card drivers */
|
||||
@@ -160,6 +161,7 @@ static inline int snd_info_card_create(struct snd_card * card) { return 0; }
|
||||
static inline int snd_info_card_register(struct snd_card * card) { return 0; }
|
||||
static inline int snd_info_card_free(struct snd_card * card) { return 0; }
|
||||
static inline void snd_info_card_disconnect(struct snd_card * card) { }
|
||||
static inline void snd_info_card_id_change(struct snd_card * card) { }
|
||||
static inline int snd_info_register(struct snd_info_entry * entry) { return 0; }
|
||||
|
||||
static inline int snd_card_proc_new(struct snd_card *card, const char *name,
|
||||
|
Reference in New Issue
Block a user