Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@keyaccess.nl>
To: Takashi Iwai <tiwai@suse.de>
Cc: Alsa-devel <alsa-devel@alsa-project.org>, krzysztof.h1@poczta.fm
Subject: Re: [PATCH] cs4232: fix crash during chip PNP detection
Date: Sun, 27 Jul 2008 11:01:26 +0200	[thread overview]
Message-ID: <488C3966.7040603@keyaccess.nl> (raw)
In-Reply-To: <s5hr69fiudn.wl%tiwai@suse.de>

On 27-07-08 10:49, Takashi Iwai wrote:

> At 23 Jul 2008 15:03:20 +0200,
> krzysztof.h1@poczta.fm wrote:
>> Rene Herman napisał(a):
>>> On 23-07-08 07:48, Krzysztof Helt wrote:
>>>
>>>
>>> Looking back, it seems this was broken at least as far back as 2.6.20 
>>> which would nicely show how much testing that code path gets. Do I 
>>> understand correctly from the backtrace that you have the PNPBIOS 
>>> hardware? If so, good...
>>>
>> Yes, I borrowed old laptop with PNP bios but no ISA PnP devices.
>> I will test my wss_lib on it.
>>
>>>> --- linux-2.6.26/sound/isa/cs423x/cs4236.c~	2008-07-23
>>> 07:40:16.129637645 +0200
>>>> +++ linux-2.6.26/sound/isa/cs423x/cs4236.c	2008-07-23 07:40:32.905641806
>>> +0200
>>>> @@ -325,6 +325,7 @@ static int __devinit snd_cs423x_pnp_init
>>>>  static int __devinit snd_card_cs4232_pnp(int dev, struct
>>> snd_card_cs4236 *acard,
>>>>  					 struct pnp_dev *pdev)
>>>>  {
>>>> +	acard->wss = pdev;
>>>>  	if (snd_cs423x_pnp_init_wss(dev, acard->wss) > 0)
>>>>  		return -EBUSY;
>>>>  	cport[dev] = -1;
>>>>
>>> Acked-by: Rene Herman >rene.herman@gmail.com>
>>>
>>> (I believe I noticed earlier that struct snd_cs4236->wss, ctrl and mpu 
>>> really needn&#039;t/shouldn&#039;t be kept around in the first place and you could 
>>> just pass pdev directly as well but that&#039;s for another cleanup; this has 
>>> it look most similar to the card variant)
>>>
>> Feel free to changed it but I prefer to have the wss_lib patches merged first to avoid
>> conflicts and redoing the patches.
> 
> Sorry, but this has to be pushed as soon as possible while wss_lib
> patches are for 2.6.28.

Yes, Krysztof's patch does -- he's just commenting on my comment between 
() there. I acked his minimal patch and added you and Jaroslav to the CC 
and commented that it was for .27...

Rene.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2008-07-27  8:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 13:03 [PATCH] cs4232: fix crash during chip PNP detection krzysztof.h1
2008-07-27  8:49 ` Takashi Iwai
2008-07-27  9:01   ` Rene Herman [this message]
2008-07-28 10:14     ` Takashi Iwai
2008-07-27 16:45   ` Krzysztof Helt
  -- strict thread matches above, loose matches on Subject: below --
2008-07-23  5:48 Krzysztof Helt
2008-07-23 10:04 ` Rene Herman

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=488C3966.7040603@keyaccess.nl \
    --to=rene.herman@keyaccess.nl \
    --cc=alsa-devel@alsa-project.org \
    --cc=krzysztof.h1@poczta.fm \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox