Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable

From: Guenter Roeck
Date: Wed Jan 28 2015 - 21:04:53 EST


On 01/27/2015 10:18 PM, Robert Rosengren wrote:


I tested the driver on 3.15 version of the kernel. Having looked in the git log of regmap.c and regmap-i2c.c, there has been some endianess-related patches going into the kernel in newer versions. Maybe that is the reason for me seeing this problem? I will try to look into that further.

I my test I only disabled following two lines of code

+ if (data->byte_swap)
+ regval = swab16(regval);

Can you possibly send me the output from i2cdump ? That might help figuring out what is going on.

Thanks,
Guenter

--
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/