diff options
author | Nick Andrew <nick@nick-andrew.net> | 2008-04-14 17:22:11 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 14:00:35 +0400 |
commit | a295e09e89d227506ae6c0a58e1cb6359c0cda1c (patch) | |
tree | 6c35f6db60239cbee2fc5b6da7733633b968993d /sound/core/misc.c | |
parent | eb5a66216658a1c879ab05dcdc65ce7005c4780b (diff) | |
download | linux-a295e09e89d227506ae6c0a58e1cb6359c0cda1c.tar.xz |
[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: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/misc.c')
-rw-r--r-- | sound/core/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/misc.c b/sound/core/misc.c index 102d1c36cf26..38524f615d94 100644 --- a/sound/core/misc.c +++ b/sound/core/misc.c @@ -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); |