From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCH 2/2] iio: hid-sensor-hub: Remove hard coded indexes Date: Sat, 08 Feb 2014 11:49:29 +0000 Message-ID: <52F619C9.8060701@kernel.org> References: <1390531822-7640-1-git-send-email-srinivas.pandruvada@linux.intel.com> <1390531822-7640-2-git-send-email-srinivas.pandruvada@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jiri Kosina , Srinivas Pandruvada Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-input@vger.kernel.org On 29/01/14 13:13, Jiri Kosina wrote: > On Thu, 23 Jan 2014, Srinivas Pandruvada wrote: > >> Remove the hard coded indexes, instead search for usage id and >> use the index to set the power and report state. >> This will fix issue, where the report descriptor doesn't contain >> the full list of possible selector for power and report state. >> >> Signed-off-by: Srinivas Pandruvada Acked-by: Jonathan Cameron > > Jonathan, I'd probably take this together with the patch for HID API > change. Could you please provide your Ack/Signoff, and I'll take it > through my tree, if you agree? Agreed. Help yourself ;) Thanks and sorry for the slow response. Amazing the backlog that builds up if you take about 3 weeks out (more or less) > > Thanks. >