Re: rx51: support for lis3lv02d accelerometer

From: Tony Lindgren
Date: Mon May 21 2012 - 12:08:39 EST


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.patch&package=kernel-adaptation-n900&project=CE%3AAdaptation%3AN900
> >
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/