[ALSA] typo-fix and snd_assert()-expression-split

ALSA Core
This patch corrects a typo in the kerneldocs of snd_info_get_str().
It also splits the expressions of snd_assert() in snd_info_unregister()
into one-expression-per-call for better debugging.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by Henrik Kretzschmar and committed by Jaroslav Kysela 856def8a 5b738bab

+3 -2
+3 -2
sound/core/info.c
··· 702 } 703 704 /** 705 - * snd_info_get_line - parse a string token 706 * @dest: the buffer to store the string token 707 * @src: the original string 708 * @len: the max. length of token - 1 ··· 939 { 940 struct proc_dir_entry *root; 941 942 - snd_assert(entry != NULL && entry->p != NULL, return -ENXIO); 943 root = entry->parent == NULL ? snd_proc_root : entry->parent->p; 944 snd_assert(root, return -ENXIO); 945 down(&info_mutex);
··· 702 } 703 704 /** 705 + * snd_info_get_str - parse a string token 706 * @dest: the buffer to store the string token 707 * @src: the original string 708 * @len: the max. length of token - 1 ··· 939 { 940 struct proc_dir_entry *root; 941 942 + snd_assert(entry != NULL, return -ENXIO); 943 + snd_assert(entry->p != NULL, return -ENXIO); 944 root = entry->parent == NULL ? snd_proc_root : entry->parent->p; 945 snd_assert(root, return -ENXIO); 946 down(&info_mutex);