Re: shamcop adc

From: Alain2210 <alain2210_at_free.fr>
Date: Tue, 2 Mar 2004 19:02:26 +0100

Selon Phil Blundell <pb_at_nexus.co.uk>:

> Okay. You patched soc-device.c to neutralize the resource checking,
> right? Removing the goto statement in this block of code:
>
> else {
> printk (KERN_ERR "%s: cannot find resource %d in
> platform resources\n",
> dev->name, i);
> rc = -ENOENT;
> goto err1;
> }
>
> is probably what's required. If the adc device still isn't initialising
> after that kind of change, some more debugging will be needed to find
> out why.

I have tried again, with this and the original shamcop_base.c (but with the
corrected typo), I
do that I get a kernel oops when shamcop ts is registered by shamcop_adc.c
(since it does
not have parent).

Alain
Received on Tue Mar 02 2004 - 18:02:28 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:25 EDT