/* This function sets the card identification and checks for name collisions.  */
void snd_card_set_id(struct snd_card *card, const char *nid)
/* This function sets the card identification and checks for name collisions.  */
void snd_card_set_id(struct snd_card *card, const char *nid)
{
	if (card->id[0] != '\0')
		return;
	mutex_lock(&snd_card_mutex);
	snd_card_set_id_no_lock(card, nid);
	mutex_unlock(&snd_card_mutex);
}