lkml.org 
[lkml]   [2014]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 0/4] iio: Add support for rotation from north
On 07/09/2014 12:30 PM, Reyad Attiyat wrote:
> This series of patches modifies magn-3d driver to handle the rotation
> from north usage. This is done by scanning the report and then building
> the iio arrays (vals and channels) dynamically.
>
> Changes from V4
> I use the address field of struct iio_chan_spec to hold the array index
> of the usage attribute. The scan_index field is generated when creating
> an iio channel.
>
> Reyad Attiyat (4):
> iio: Documentation: Add documentation for rotation from north sensor
> usage attributes
> iio: types: Added support for rotation from north usage attributes
> iio: hid-sensor-magn-3d: Scan for usage attributes before setting up
> iio channels
> iio: hid-sensor-magn-3d: Add support for rotation from north
>
> Documentation/ABI/testing/sysfs-bus-iio | 82 +++++++++++
> drivers/iio/industrialio-core.c | 4 +
> drivers/iio/magnetometer/hid-sensor-magn-3d.c | 199 ++++++++++++++++++++------
> include/linux/iio/types.h | 4 +
> 4 files changed, 245 insertions(+), 44 deletions(-)
>
Did you get chance to look at the cause of panic?

Thanks,
Srinivas


\
 
 \ /
  Last update: 2014-07-09 22:21    [W:0.485 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site