On 20/07/14 18:57, 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 V6 Remove sizeof from function hid_sensor_push_data as it is not used or passed to iio_push_to_buffer
Thanks. Another zero day bug fix notched up to the Autobuilders before it went out. Anyhow, v7 applied and pushed out as testing (again - just in case ;) J
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(-)
-- 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