On Mon, 20 Jun 2011 22:02:37 -0700
[email protected] wrote:

> From: William Douglas <[email protected]>
> 
> Because bma023 is to use sysfs instead of its gpio interupt, add
> a handler to set the irq to 0 in order to avoid error messages
> printed at startup (as the irq was set to 0xff before).

While this will work, the more technically correct thing to do
is set the irq to -1, since 0 is a valid irq number.
The type of irq is "int", so probably it's incorrectly being
read as 255 because someone set it as 0xff instead of -1.
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to