[PATCH v3 0/3] IIO: Add support for rotation from north usage attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches add support for rotation from north HID usage attributes to
the magnetometer 3d driver.

Changes from v2:
	Use devm_kcalloc for all dynamic allocations
	Cleanup formatting of if statements
	Scan for the usage attributes present then dynamically allocate iio channel and value arrays
	Use proper return errors (-EINVAL) and (-ENOMEM)


Reyad Attiyat (3):
  iio: documentation: Added documentation for rotation from north usage
    attributes
  iio: types: Added support for rotation from north usage attributes
  iio: hid-sensor-magn-3d: Add support for rotation from north usage
    attributes

 Documentation/ABI/testing/sysfs-bus-iio       |  79 +++++-
 drivers/iio/industrialio-core.c               |   4 +
 drivers/iio/magnetometer/hid-sensor-magn-3d.c | 394 +++++++++++++++++---------
 include/linux/iio/types.h                     |   4 +
 4 files changed, 352 insertions(+), 129 deletions(-)

-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux