public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Bug 770] New: usbaudio does not compile
Date: Tue, 03 Jun 2003 19:08:44 +0200	[thread overview]
Message-ID: <s5hvfvnm6lf.wl@alsa2.suse.de> (raw)
In-Reply-To: <113000000.1054658998@flay>

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

Hi,

At Tue, 03 Jun 2003 09:49:58 -0700,
Martin J. Bligh <mbligh@aracnet.com> wrote:
> 
> http://bugme.osdl.org/show_bug.cgi?id=770
> 
>            Summary: usbaudio does not compile
>     Kernel Version: 2.5.70-bk8
>             Status: NEW
>           Severity: normal
>              Owner: bugme-janitors@lists.osdl.org
>          Submitter: a.akhavan@ndr.de
> 
> 
> Distribution: SuSE 8.2
> Hardware Environment: Acer Travelmate 800 LCi
> Software Environment: gcc 3.3
> Problem Description: usbaudio does not compile on 2.5.70-bk8
> (I've skipped a few snapshots, so it might have been introduced at > 2.5.70-bk5)
> It used to compile before. 
> 
> Error-log:
(snip)

this bug appears only when CONFIG_SND_DEBUG_DETECT is set, so i didn't
notice that.
please apply the patch below, or simply turn off
CONFIG_SND_DEBUG_DETECT (it's anyway redundant).

-- 
Takashi Iwai <tiwai@suse.de>		SuSE Linux AG - www.suse.de
ALSA Developer				ALSA Project - www.alsa-project.org

[-- Attachment #2: usb-fix.dif --]
[-- Type: application/octet-stream, Size: 487 bytes --]

--- linux/sound/usb/usbaudio.c	2 Jun 2003 10:04:45 -0000	1.56
+++ linux/sound/usb/usbaudio.c	3 Jun 2003 10:05:59 -0000
@@ -1939,7 +1939,7 @@
 	switch (format) {
 	case 0: /* some devices don't define this correctly... */
 		snd_printdd(KERN_INFO "%d:%u:%d : format type 0 is detected, processed as PCM\n",
-			    dev->devnum, iface_no, altno);
+			    dev->devnum, fp->iface, fp->altsetting);
 		/* fall-through */
 	case USB_AUDIO_FORMAT_PCM:
 		if (sample_width > sample_bytes * 8) {

      reply	other threads:[~2003-06-03 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-03 16:49 [Bug 770] New: usbaudio does not compile Martin J. Bligh
2003-06-03 17:08 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hvfvnm6lf.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox