Re: [PATCH] add sysfs class support for ALSA sound devices [08/10]

From: Måns Rullgård
Date: Fri Jan 16 2004 - 19:51:55 EST


Greg KH <greg@xxxxxxxxx> writes:

> On Fri, Jan 16, 2004 at 11:15:58PM +0100, Måns Rullgård wrote:
>> Greg KH <greg@xxxxxxxxx> writes:
>>
>> > This patch adds support for all ALSA sound devices. The previous OSS
>> > sound patch is required for this one to work properly.
>>
>> This doesn't apply cleanly to the latest ALSA (1.0.1). It's no
>> problem to do it manually, though.
>>
>> > diff -Nru a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
>> > --- a/sound/pci/intel8x0.c Thu Jan 15 11:05:58 2004
>> > +++ b/sound/pci/intel8x0.c Thu Jan 15 11:05:58 2004
>> > @@ -2591,6 +2591,7 @@
>> > break;
>> > }
>> > }
>> > + card->dev = &pci->dev;
>>
>> Does this need to be done for all drivers?
>
> Yes. I just did it for one driver to test it out, and show how to do it
> properly for others. I figured after this patch went into the kernel
> tree, we could fix the other drivers up.

Well, it seems to work with my intel8x0 and ALSA 1.0.1.

--
Måns Rullgård
mru@xxxxxx

-
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/