Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756549AbaGITlh (ORCPT ); Wed, 9 Jul 2014 15:41:37 -0400 Received: from mga09.intel.com ([134.134.136.24]:9740 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754846AbaGITlf (ORCPT ); Wed, 9 Jul 2014 15:41:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,633,1400050800"; d="scan'208";a="570765847" Message-ID: <53BD9BD5.5030204@linux.intel.com> Date: Wed, 09 Jul 2014 12:45:25 -0700 From: Srinivas Pandruvada User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Reyad Attiyat CC: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, jic23@kernel.org Subject: Re: [PATCH v5 0/4] iio: Add support for rotation from north References: <1404934213-2733-1-git-send-email-reyad.attiyat@gmail.com> In-Reply-To: <1404934213-2733-1-git-send-email-reyad.attiyat@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/