Re: [PATCH v2 1/2] iio: cros_ec: Add sign vector in core for backward compatibility

2019-06-24 Thread Gwendal Grignou
On Sat, Jun 22, 2019 at 1:54 AM Jonathan Cameron wrote: > > On Thu, 20 Jun 2019 19:41:05 -0700 > Gwendal Grignou wrote: > > > To allow cros_ec iio core library to be used with legacy device, add a > > vector to rotate sensor data if necessary: legacy devices are not > > reporting data in

Re: [PATCH v2 1/2] iio: cros_ec: Add sign vector in core for backward compatibility

2019-06-24 Thread Doug Anderson
Hi, On Thu, Jun 20, 2019 at 7:41 PM Gwendal Grignou wrote: > > To allow cros_ec iio core library to be used with legacy device, add a > vector to rotate sensor data if necessary: legacy devices are not > reporting data in HTML5/Android sensor referential. > > On veyron minnie, check chrome

Re: [PATCH v2 1/2] iio: cros_ec: Add sign vector in core for backward compatibility

2019-06-22 Thread Jonathan Cameron
On Thu, 20 Jun 2019 19:41:05 -0700 Gwendal Grignou wrote: > To allow cros_ec iio core library to be used with legacy device, add a > vector to rotate sensor data if necessary: legacy devices are not > reporting data in HTML5/Android sensor referential. > > On veyron minnie, check chrome detect

[PATCH v2 1/2] iio: cros_ec: Add sign vector in core for backward compatibility

2019-06-20 Thread Gwendal Grignou
To allow cros_ec iio core library to be used with legacy device, add a vector to rotate sensor data if necessary: legacy devices are not reporting data in HTML5/Android sensor referential. On veyron minnie, check chrome detect tablet mode and rotate screen in tablet mode. Signed-off-by: Gwendal