[PATCH] Print device number which did not support low speed audio streaming

Andreas Bergmeier lcid-fire at gmx.net
Sat Jan 24 12:17:01 CET 2009


Signed-off-by: Andreas Bergmeier <lcid-fire at gmx.net>
---
 sound/usb/usbaudio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index 8b8eb9e..2cfb8a3 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2929,7 +2929,7 @@ static int snd_usb_create_streams(struct snd_usb_audio *chip, int ctrlif)
 			continue;
 		}
 		if (snd_usb_get_speed(dev) == USB_SPEED_LOW) {
-			snd_printk(KERN_ERR "low speed audio streaming not supported\n");
+			snd_printk(KERN_ERR "%d: low speed audio streaming not supported\n", dev->devnum);
 			continue;
 		}
 		if (! parse_audio_endpoints(chip, j)) {
-- 
1.5.6.3


--------------050806070602090407040706
Content-Type: text/x-patch;
 name="0001-Replaced-return-NULL-lines-by-break-in-snd_usb_fin.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0001-Replaced-return-NULL-lines-by-break-in-snd_usb_fin.patc";
 filename*1="h"



More information about the Alsa-devel mailing list