lkml.org 
[lkml]   [2006]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Problems with sound on latest kernels.
On Wed, Feb 15, 2006 at 02:42:05PM +0100, Lz wrote:
> On 2/15/06, Andrew Morton <akpm@osdl.org> 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-02-17 07:19    [W:0.050 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site