Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2008 16:55:41 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 152976 for review
Message-ID:  <200811141655.mAEGtfue073081@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152976

Change 152976 by hselasky@hselasky_laptop001 on 2008/11/14 16:54:49

	
	Fix a debug printout.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/sound/uaudio2.c#16 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/sound/uaudio2.c#16 (text+ko) ====

@@ -3049,9 +3049,6 @@
 static int
 uaudio_mixer_bsd2value(struct uaudio_mixer_node *mc, int32_t val)
 {
-	DPRINTFN(6, "type=%03x val=%d min=%d max=%d ",
-	    mc->type, val, mc->minval, mc->maxval);
-
 	if (mc->type == MIX_ON_OFF) {
 		val = (val != 0);
 	} else if (mc->type == MIX_SELECTOR) {
@@ -3063,7 +3060,8 @@
 		val = (((val + (mc->delta / 2)) * mc->mul) / 255) + mc->minval;
 	}
 
-	DPRINTFN(6, "val=%d\n", val);
+	DPRINTFN(6, "type=0x%03x val=%d min=%d max=%d val=%d\n",
+	    mc->type, val, mc->minval, mc->maxval, val);
 	return (val);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811141655.mAEGtfue073081>