[alsa-devel] [ALSA] sound/usb/mixer.c: improve dmesg source grepability

Michał Mirosław mirq-linux at rere.qmqm.pl
Sun Aug 3 15:09:57 CEST 2014


This improves messages from commit 80acefff3bc7bd53d46c16c683ab66c0ece20810.

Signed-off-by: Michał Miroslaw <mirq-linux at rere.qmqm.pl>
Cc: Alexey Fisher <bug-track at fisher-privat.net>
Signed-off-by: Michał Mirosław <mirq-linux at rere.qmqm.pl>
---
 sound/usb/mixer.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

patch against current Linus's tree.

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 0b728d8..2e4a9db 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -1340,12 +1340,11 @@ static void build_feature_ctl(struct mixer_build *state, void *raw_desc,
 	 */
 	if (range > 384) {
 		usb_audio_warn(state->chip,
-			       "Warning! Unlikely big volume range (=%u), "
-			       "cval->res is probably wrong.",
+			       "Warning! Unlikely big volume range (=%u), cval->res is probably wrong.",
 			       range);
-		usb_audio_warn(state->chip, "[%d] FU [%s] ch = %d, "
-			       "val = %d/%d/%d", cval->id,
-			       kctl->id.name, cval->channels,
+		usb_audio_warn(state->chip,
+			       "[%d] FU [%s] ch = %d, val = %d/%d/%d",
+			       cval->id, kctl->id.name, cval->channels,
 			       cval->min, cval->max, cval->res);
 	}
 
-- 
2.0.1



More information about the Alsa-devel mailing list