Signed-off-by: Jaroslav Kysela <perex@perex.cz>
*/
const char *snd_lib_log_priority(int prio)
{
- if (prio >= 0 && prio <= SND_LOG_TRACE)
+ if (prio >= 0 && prio <= SND_LOG_LAST)
return snd_log_prio_names[prio];
return NULL;
}
*/
const char *snd_lib_log_interface(int interface)
{
- if (interface >= 0 && interface <= SND_ILOG_TOPOLOGY)
+ if (interface >= 0 && interface <= SND_ILOG_LAST)
return snd_ilog_interface_names[interface];
return NULL;
}