From: Takashi Iwai <tiwai@suse.de>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] fix usb midi crash
Date: Mon, 13 Jan 2003 10:57:18 +0100 [thread overview]
Message-ID: <s5hbs2lwewx.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.HPX.4.33n.0301130925050.3084-100000@studcom.urz.uni-halle.de>
Hi Clemens,
At Mon, 13 Jan 2003 09:49:30 +0100 (MET),
Clemens Ladisch wrote:
>
> Revision 1.14 of usbmidi.c added checks for chip->shutdown ("to be sure"),
> but chip->shutdown is always 1 when unloading, so the URBs didn't get
> unlinked at all. This caused random crashes later.
>
> This patch adds a hook to unlink the URBs, at the same time as the PCM
> URBs.
>
> Additionally, the card's longname now includes again the device number (as
> suggested by Pedro).
i got again "malformed patch error", perhaps in this part:
> Index: alsa-driver/include/adriver.h
> ===================================================================
> RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
> retrieving revision 1.27
> diff -u -r1.27 adriver.h
...
> @@ -240,6 +249,7 @@
> #undef usb_submit_urb
> #define usb_alloc_urb(n,flags) usb_alloc_urb_wrapper(n,flags)
> #define usb_submit_urb(p,flags) usb_submit_urb_wrapper(p,flags)
> #define OLD_USB
> #endif /* LINUX_VERSION_CODE < 2.5.0 */
>
> Index: alsa-kernel/usb/usbaudio.c
> ===================================================================
is there any change in (-240,6,+249.7)?
other parts have been already committed to cvs.
thanks,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
prev parent reply other threads:[~2003-01-13 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-13 8:49 [PATCH] fix usb midi crash Clemens Ladisch
2003-01-13 9:57 ` 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=s5hbs2lwewx.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.