[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4992A5A6.5000707@tremplin-utc.net>
Date: Wed, 11 Feb 2009 11:17:10 +0100
From: Éric Piel <eric.piel@...mplin-utc.net>
To: Giuseppe Bilotta <giuseppe.bilotta@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Pavel Machek <pavel@...e.cz>
Subject: Re: [PATCHv7] lis3lv02d: support both one- and two-byte sensors
Giuseppe Bilotta schreef:
> Sensors responding with 0x3B to WHO_AM_I only have one data register per
> direction, thus returning a signed byte from the position which is
> occupied by the MSB in sensors responding with 0x3A.
>
> Since multiple sensors share the reply to WHO_AM_I, we rename the
> defines to better indicate what they identify (family of single and
> double precision sensors).
>
> We support both kind of sensors by checking for the sensor type on init
> and defining appropriate data-access routines and sensor limits (for the
> joystick) depending on what we find.
>
> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@...il.com>
Acked-by: Eric Piel <Eric.Piel@...mplin-utc.net>
Andrew, could you queue it? This should fix problems with a certain
number of laptops which were supposedly supported but in practice were
not usable.
Thanks,
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists