shamcop adc

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

Hello,

when booting, I get

ipaq shamcop: using irq 104-150
Setting type of unclaimed IRQ28 from shamcop_probe+0xb4/0x2b8
shamcop adc: cannot find resource 2 in platform resources

There is a probleme when registering the shamcop adc. I have tried to understand
the structure :
in shamcop_base.c, one can see that shamcop adc has 3 resources. The third
(called 2)
is
 res[2].start = blk->irq + adata->irq_base;
res[2].end = res[1].start;
res[2].flags = IORESOURCE_IRQ;

but soc-device.c says he cannot find the resource since the end is greater that
the one
of is parent (ipaq shamcop) which is not defined and hence null. Moreover
reading the other
source of the kernel, end is often not defined. Hence I have tried to comment
the line
res[2].end = res[1].start;
then soc-device.c is in the case "exact match" and I get
"failed to claim resource adc shamcop"

Does anyone has an idea about this ? Is the end parameter needed ? Why does it
work for
the 5400 ?

Thanks,

Alain
Received on Tue Mar 02 2004 - 15:20:02 EST

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