Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a295e09e authored by Nick Andrew's avatar Nick Andrew Committed by Takashi Iwai
Browse files

[ALSA] sound: this amplifier only goes up to 7



sound: kernel log levels are 0-7

Kernel log levels are 0-7, not 0-9.

Signed-off-by: default avatarNick Andrew <nick@nick-andrew.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent eb5a6621
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ void snd_verbose_printk(const char *file, int line, const char *format, ...)
{
	va_list args;
	
	if (format[0] == '<' && format[1] >= '0' && format[1] <= '9' && format[2] == '>') {
	if (format[0] == '<' && format[1] >= '0' && format[1] <= '7' && format[2] == '>') {
		char tmp[] = "<0>";
		tmp[1] = format[1];
		printk("%sALSA %s:%d: ", tmp, file, line);
@@ -60,7 +60,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...)
{
	va_list args;
	
	if (format[0] == '<' && format[1] >= '0' && format[1] <= '9' && format[2] == '>') {
	if (format[0] == '<' && format[1] >= '0' && format[1] <= '7' && format[2] == '>') {
		char tmp[] = "<0>";
		tmp[1] = format[1];
		printk("%sALSA %s:%d: ", tmp, file, line);