lkml.org 
[lkml]   [2001]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.10-ac10
On Wed, 10 Oct 2001, Rasmus Andersen wrote:

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


Thanks, this fixed it!


> Regards,
> Rasmus

cu
Adrian

--

Get my GPG key: finger bunk@debian.org | gpg --import
Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400

-
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: 2005-03-22 13:05    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site