Files
linux/drivers
Richard A. Smith 7cfbb29466 olpc_battery: Fix endian neutral breakage for s16 values
When the driver was updated to be endian neutral (8e9c7716c)
the signed part of the s16 values was lost.  This is because be16_to_cpu()
returns an unsigned value.  This patch casts the values back to a s16
number prior to the the implicit cast up to an int.

Signed-off-by: Richard A. Smith <richard@laptop.org>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Cc: <stable@kernel.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2010-09-28 15:14:31 +04:00
..
2010-08-13 12:03:24 -07:00
2010-06-16 18:08:32 +02:00
2010-08-17 18:07:43 -07:00
2010-08-18 08:35:46 -04:00
2010-06-16 18:05:05 +02:00
2010-07-26 08:05:31 -07:00
2010-07-27 12:40:54 +02:00