Re: Problems with sound on latest kernels.

From: Lz
Date: Fri Feb 17 2006 - 11:29:19 EST


Hello, it seems to be fixed at the latests git-.

Do you still need me to try that patch?

On 2/17/06, Adam Belay <ambx1@xxxxxxxxxx> wrote:
> On Wed, Feb 15, 2006 at 02:42:05PM +0100, Lz wrote:
> > On 2/15/06, Andrew Morton <akpm@xxxxxxxx> wrote:
> > >
> > > Poor guy - that's rocket science. It looks like it's due to breakage in
> > > the pnp code anwyay.
> >
> > Yeah, it seemed that to me, alsa wasn't even loaded at that time.
>
> This patch may solve your problem. Could you send a new dmesg output with it
> applied?
>
> Thanks,
> Adam
>
> --- a/drivers/pnp/card.c 2006-01-02 22:21:10.000000000 -0500
> +++ b/drivers/pnp/card.c 2006-02-17 00:45:37.123525896 -0500
> @@ -302,13 +302,11 @@
> down_write(&dev->dev.bus->subsys.rwsem);
> dev->card_link = clink;
> dev->dev.driver = &drv->link.driver;
> - if (drv->link.driver.probe) {
> - if (drv->link.driver.probe(&dev->dev)) {
> - dev->dev.driver = NULL;
> - dev->card_link = NULL;
> - up_write(&dev->dev.bus->subsys.rwsem);
> - return NULL;
> - }
> + if (pnp_bus_type.probe(&dev->dev)) {
> + dev->dev.driver = NULL;
> + dev->card_link = NULL;
> + up_write(&dev->dev.bus->subsys.rwsem);
> + return NULL;
> }
> device_bind_driver(&dev->dev);
> up_write(&dev->dev.bus->subsys.rwsem);
>


--
Lz (elezeta@xxxxxxxxx).
http://elezeta.bounceme.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/