Re: rx51: support for lis3lv02d accelerometer
From: Pali Rohár
Date: Wed May 23 2012 - 14:22:17 EST
On Monday 21 May 2012 09:08:40 Tony Lindgren wrote:
> Hi Pali,
>
> * Tony Lindgren <tony@xxxxxxxxxxx> [120508 17:12]:
> > * Pali RohÃr <pali.rohar@xxxxxxxxx> [120504 08:41]:
> > > Hi!
> > >
> > > Upstream linux kernel has already driver for lis3lv02d
> > > accelerometer in drivers/misc/lis3lv02d. So now can be
> > > added also platform support for nokia rx51. Patch exists
> > > for long time in meego obs repository:
> > > https://build.pub.meego.com/package/view_file?file=linux-2
> > > .6-omap-rx51-Platform-support-for-lis3lv02d-acceleromet.pat
> > > ch&package=kernel-adaptation-n900&projectÎ%3AAdaptation%3
> > > AN900
> > >
> > > It is possible to include this patch to upstream kernel?
> >
> > Thanks, applying into board branch with From: Ameya as in the
> > link above.
>
> Just noticed that this one is still using OMAP_GPIO_IRQ that
> won't work any longer. Can you please send a fix on top of this
> patch against linux next to fix it?
>
> The fix is to use gpio_to_irq() in the related init function
> instead of static OMAP_GPIO_IRQ in the data structure.
>
> Regards,
>
> Tony
Sorry, but now I do not have time for it. Tony, if fix is simple
can you do it?
--
Pali RohÃr
pali.rohar@xxxxxxxxxAttachment:
signature.asc
Description: This is a digitally signed message part.