Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-24 Thread Jonathan Cameron
On 19/11/16 16:46, Srinivas Pandruvada wrote: > On Sat, 2016-11-19 at 12:56 +, Jonathan Cameron wrote: >> On 16/11/16 09:43, Ooi, Joyce wrote: >>> >>> There are 2 usage types (Magnetic Flux and Heading data field) for >>> HID >>> compass sensor, thus the values of offset, scale, and

Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-24 Thread Jonathan Cameron
On 19/11/16 16:46, Srinivas Pandruvada wrote: > On Sat, 2016-11-19 at 12:56 +, Jonathan Cameron wrote: >> On 16/11/16 09:43, Ooi, Joyce wrote: >>> >>> There are 2 usage types (Magnetic Flux and Heading data field) for >>> HID >>> compass sensor, thus the values of offset, scale, and

Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-19 Thread Srinivas Pandruvada
On Sat, 2016-11-19 at 12:56 +, Jonathan Cameron wrote: > On 16/11/16 09:43, Ooi, Joyce wrote: > > > > There are 2 usage types (Magnetic Flux and Heading data field) for > > HID > > compass sensor, thus the values of offset, scale, and sensitivity > > should > > be separated according to their

Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-19 Thread Srinivas Pandruvada
On Sat, 2016-11-19 at 12:56 +, Jonathan Cameron wrote: > On 16/11/16 09:43, Ooi, Joyce wrote: > > > > There are 2 usage types (Magnetic Flux and Heading data field) for > > HID > > compass sensor, thus the values of offset, scale, and sensitivity > > should > > be separated according to their

Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-19 Thread Jonathan Cameron
On 16/11/16 09:43, Ooi, Joyce wrote: > There are 2 usage types (Magnetic Flux and Heading data field) for HID > compass sensor, thus the values of offset, scale, and sensitivity should > be separated according to their respective usage type. The changes made > are as below: > 1. Hysteresis: A

Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-19 Thread Jonathan Cameron
On 16/11/16 09:43, Ooi, Joyce wrote: > There are 2 usage types (Magnetic Flux and Heading data field) for HID > compass sensor, thus the values of offset, scale, and sensitivity should > be separated according to their respective usage type. The changes made > are as below: > 1. Hysteresis: A

[PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-16 Thread Ooi, Joyce
There are 2 usage types (Magnetic Flux and Heading data field) for HID compass sensor, thus the values of offset, scale, and sensitivity should be separated according to their respective usage type. The changes made are as below: 1. Hysteresis: A struct hid_sensor_common rot_attributes is created

[PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-16 Thread Ooi, Joyce
There are 2 usage types (Magnetic Flux and Heading data field) for HID compass sensor, thus the values of offset, scale, and sensitivity should be separated according to their respective usage type. The changes made are as below: 1. Hysteresis: A struct hid_sensor_common rot_attributes is created