l.org; Hartmut Knaack; Lars-Peter Clausen; Markus
> Pargmann
> Subject: Re: [PATCH 1/1] iio: accel: bmc150: fix endianness when reading axes
>
> On Mon, 28 Mar 2016, Irina Tirdea wrote:
>
> > For big endian platforms, reading the axes will return
> > invalid values.
&
On Mon, 28 Mar 2016, Irina Tirdea wrote:
> For big endian platforms, reading the axes will return
> invalid values.
>
> The device stores each axis value in a 16 bit little
> endian register. The driver uses regmap_read_bulk to get
> the axis value, resulting in a 16 bit little endian value.
> Th
For big endian platforms, reading the axes will return
invalid values.
The device stores each axis value in a 16 bit little
endian register. The driver uses regmap_read_bulk to get
the axis value, resulting in a 16 bit little endian value.
This needs to be converted to cpu endianness to work
on bi
3 matches
Mail list logo