w1-gpio oops
Hemanth V
hemanthv at ti.com
Tue Nov 9 09:53:59 EST 2010
----- Original Message -----
From: "Alan Pearson" <alandpearson at gmail.com>
To: "Hemanth V" <hemanthv at ti.com>
Cc: <linux-arm-kernel at lists.infradead.org>
Sent: Tuesday, November 09, 2010 8:14 PM
Subject: Re: w1-gpio oops
On 9 Nov 2010, at 14:29, Hemanth V wrote:
> ----- Original Message ----- From: "Alan Pearson" <alandpearson at gmail.com>
> To: <linux-arm-kernel at lists.infradead.org>
> Sent: Tuesday, November 09, 2010 7:29 PM
> Subject: w1-gpio oops
>
>
>> Hi Guys,
>>
>> First post to list, so be kind :)
>>
>> I'm trying to get w1 (one wire) working over GPIO and despite my best
>> efforts this results in a nasty oops.
>> Firstly, I'd like to say I'm no kernel hacker and my knowledge of Ooops
>> and kernel debugging is limited, but I'm willing to learn:)
>
> Common cause for these errors could be nonexistent or incorrect platform
> data. Might be worth checking if w1_gpio_platform_data
> is proper in your board file. You could look for examples in other board
> files like arch/arm/mach-pxa/raumfeld.c
>
<CHOP>
Ok, I had understood the platform data was being set in the w1_gpio_custom
module by the loadable options.
Is this not the case, or does it also need defined in the board file, which
I presume is guruplug_setup.c ?
It's currently not defined there. But as I said I expected the other module
to do this, am I wrong ?
Looking at the function w1_gpio_probe, it doesnot seem to be using module
params. So u might need to define those
in your board file.
More information about the linux-arm-kernel
mailing list