Re: [PATCH v2 6/7] iio: inv_mpu6050: Reformat sample for active scan mask

2016-05-31 Thread Jonathan Cameron
On 31 May 2016 09:56:51 BST, Crestez Dan Leonard wrote: >On 05/31/2016 12:42 AM, Jonathan Cameron wrote: >> On 30 May 2016 14:44:41 BST, Crestez Dan Leonard > wrote: >>> On 05/29/2016 06:47 PM, Jonathan Cameron wrote: On 18/05/16 16:00, Crestez Dan Leonard wrote: > Right now it is poss

Re: [PATCH v2 6/7] iio: inv_mpu6050: Reformat sample for active scan mask

2016-05-31 Thread Crestez Dan Leonard
On 05/31/2016 12:42 AM, Jonathan Cameron wrote: > On 30 May 2016 14:44:41 BST, Crestez Dan Leonard > wrote: >> On 05/29/2016 06:47 PM, Jonathan Cameron wrote: >>> On 18/05/16 16:00, Crestez Dan Leonard wrote: Right now it is possible to only enable some of the x/y/z channels, >> for exa

Re: [PATCH v2 6/7] iio: inv_mpu6050: Reformat sample for active scan mask

2016-05-30 Thread Jonathan Cameron
On 30 May 2016 14:44:41 BST, Crestez Dan Leonard wrote: >On 05/29/2016 06:47 PM, Jonathan Cameron wrote: >> On 18/05/16 16:00, Crestez Dan Leonard wrote: >>> Right now it is possible to only enable some of the x/y/z channels, >for >>> example you can enable accel_z without x or y but if you act

Re: [PATCH v2 6/7] iio: inv_mpu6050: Reformat sample for active scan mask

2016-05-30 Thread Crestez Dan Leonard
On 05/29/2016 06:47 PM, Jonathan Cameron wrote: > On 18/05/16 16:00, Crestez Dan Leonard wrote: >> Right now it is possible to only enable some of the x/y/z channels, for >> example you can enable accel_z without x or y but if you actually do >> that what you get is actually only the x channel. >>

Re: [PATCH v2 6/7] iio: inv_mpu6050: Reformat sample for active scan mask

2016-05-29 Thread Jonathan Cameron
On 18/05/16 16:00, Crestez Dan Leonard wrote: > Right now it is possible to only enable some of the x/y/z channels, for > example you can enable accel_z without x or y but if you actually do > that what you get is actually only the x channel. > > Fix this by reformatting the hardware sample to onl

[PATCH v2 6/7] iio: inv_mpu6050: Reformat sample for active scan mask

2016-05-18 Thread Crestez Dan Leonard
Right now it is possible to only enable some of the x/y/z channels, for example you can enable accel_z without x or y but if you actually do that what you get is actually only the x channel. Fix this by reformatting the hardware sample to only include the requested channels. Signed-off-by: Creste