From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755737Ab3BKLTS (ORCPT ); Mon, 11 Feb 2013 06:19:18 -0500 Received: from mail-lb0-f170.google.com ([209.85.217.170]:63993 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755668Ab3BKLTP (ORCPT ); Mon, 11 Feb 2013 06:19:15 -0500 MIME-Version: 1.0 In-Reply-To: <20130211101336.GA20771@intel.com> References: <1360334256-22127-1-git-send-email-benjamin.tissoires@gmail.com> <20130211101336.GA20771@intel.com> Date: Mon, 11 Feb 2013 12:19:13 +0100 Message-ID: Subject: Re: [PATCH 0/7] hid driver transport cleanup From: Benjamin Tissoires To: Mika Westerberg Cc: Dmitry Torokhov , Henrik Rydberg , Jiri Kosina , Stephane Chatty , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2013 at 11:13 AM, Mika Westerberg wrote: > On Fri, Feb 08, 2013 at 03:37:29PM +0100, Benjamin Tissoires wrote: >> so, here is the hid drivers cleanup. The aim is to remove as much as possible >> direct calls to usbhid for hid drivers. Thus, other transport layers can use >> the existing hid drivers (like I2C or uhid). > > We also found out that there is a dependency to usbhid in many of the > drivers, especially in sensor-hub which caused the system crash while the > driver tried to transmit over USB even though it was behind I2C. > > Your series fixes that nicely :) > > You can add, > > Reviewed-by: Mika Westerberg > > for the whole series and in addition, > > Tested-by: Mika Westerberg > > for the sensor-hub part (HID over I2C). I have few more patches to the > sensor-hub myself and I'm going to rebase them on top of this series. Thanks Mika for reviewing. I just wanted to warn you that the HID over I2C part is still lacking the support of requests through hid_hw_request(). So the functions sensor_hub_set_feature(), sensor_hub_get_feature() and sensor_hub_input_attr_get_raw_value() won't work, in a silently way :(. I started writing the patch but stopped at some point due to lack of ways to test it. Cheers, Benjamin