Re: Linux 2.4.10-ac10

Arnaldo Carvalho de Melo
2001-10-10T10:29:24Z

Em Wed, Oct 10, 2001 at 11:09:05AM +0200, Rasmus Andersen escreveu:
> On Wed, Oct 10, 2001 at 10:47:40AM +0200, Adrian Bunk wrote:
> [...]
> >
> > Yes, that was it. Sound works again for me after I've reversed the
> > attached patch to drivers/sound/ad1816.c.
>
> [...]
>
> >
> > - if (check_region (io_base, 16)) {
> > - printk ("ad1816: I/O port 0x%03x not free\n", io_base);
> > - return 0;
> > + if (request_region(io_base, 16, "AD1816 Sound")) {
> > + printk(KERN_WARNING "ad1816: I/O port 0x%03x not free\n",
> > + io_base);
> > + goto err;
> > }
> >
>
> Would you mind trying with a '!' in front of the request_region call?

yup, my fault, sorry, just in case I've checked the other similar patches
I've sent to Alan and they have the '!', thanks for spotting this.

- Arnaldo