On 01/29/2015 11:30 AM, Guenter Roeck wrote:
On Thu, Jan 29, 2015 at 01:07:10PM +0100, Robert Rosengren wrote:


Is your hardware big endian or little endian ?
CONFIG_CPU_LITTLE_ENDIAN=y

Hi Robert,

I have another question: What is your i2c controller type ?


Robert,

I now tried both 3.15 and 3.19-rc6. Both kernels require the byte swap code.

The only reason I can imagine why you don't need it in your code would be
that your i2c controller does not support i2c functionality but only SMBus.
This would be the case, for example, with the i801 controller. So it would
be quite helpful to know which controller your system uses to access the
ads7828.

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to