/[linux-patches]/genpatches-2.6/trunk/2.6.14/1451_15.5_alsa-bogus-snd_device-free.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1451_15.5_alsa-bogus-snd_device-free.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations) (download) (as text)
Tue Mar 14 13:34:17 2006 UTC (14 years, 8 months ago) by johnm
File MIME type: text/x-diff
File size: 980 byte(s)
2.6.14-11, rebase against local tree
1 From: Takashi Iwai <tiwai@suse.de>
2 Date: Fri, 24 Feb 2006 21:03:52 +0000 (-0800)
3 Subject: [PATCH] alsa: fix bogus snd_device_free() in opl3-oss.c
4 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.15.y.git;a=commitdiff;h=b68e8ec13bcb0bb66173a5803a98602575e6b8d0
5
6 [PATCH] alsa: fix bogus snd_device_free() in opl3-oss.c
7
8 Remove snd_device_free() for an opl3-oss instance which should have been
9 released.
10
11 Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 Cc: Jaroslav Kysela <perex@suse.cz>
13 Cc: <stable@kernel.org>
14 Signed-off-by: Andrew Morton <akpm@osdl.org>
15 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
16 ---
17
18 --- a/sound/drivers/opl3/opl3_oss.c
19 +++ b/sound/drivers/opl3/opl3_oss.c
20 @@ -146,7 +146,7 @@ void snd_opl3_init_seq_oss(opl3_t *opl3,
21 void snd_opl3_free_seq_oss(opl3_t *opl3)
22 {
23 if (opl3->oss_seq_dev) {
24 - snd_device_free(opl3->card, opl3->oss_seq_dev);
25 + /* The instance should have been released in prior */
26 opl3->oss_seq_dev = NULL;
27 }
28 }

  ViewVC Help
Powered by ViewVC 1.1.20