/* Returns the short identifying name of the codec.  */
const char* snd_ac97_get_short_name(struct snd_ac97 *ac97)
/* Returns the short identifying name of the codec.  */
const char* snd_ac97_get_short_name(struct snd_ac97 *ac97)
{
	const struct ac97_codec_id *pid;
	for (pid = snd_ac97_codec_ids; pid->id; pid++)
		if (pid->id == (ac97->id & pid->mask))
			return pid->name;
	return "unknown codec";
}