From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756935AbdACARh (ORCPT ); Mon, 2 Jan 2017 19:17:37 -0500 Received: from smtp.nue.novell.com ([195.135.221.5]:59406 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756647AbdACARQ (ORCPT ); Mon, 2 Jan 2017 19:17:16 -0500 Date: Tue, 3 Jan 2017 08:16:51 +0800 From: joeyli To: Andy Shevchenko Cc: "Lee, Chun-Yi" , Darren Hart , platform-driver-x86@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] acer-wmi: setup accelerometer when machine has appropriate notify event Message-ID: <20170103001651.GA8823@linux-l9pv.suse> References: <1478132332-25284-1-git-send-email-jlee@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 27, 2016 at 02:00:01PM +0200, Andy Shevchenko wrote: > On Thu, Nov 3, 2016 at 2:18 AM, Lee, Chun-Yi wrote: > > The accelerometer event relies on on the ACERWMID_EVENT_GUID notify. > > So, this patch changes the codes to setup accelerometer input device > > when detected ACERWMID_EVENT_GUID. It avoids that the accel input > > device created on every acer machines. > > > > In addition, patch adds a clearly parsing logic of accelerometer hid > > to acer_wmi_get_handle_cb callback function. It is positive matching > > the "SENR" name with "BST0001" device to avoid non-supported hardware. > > > > Pushed to testing with slightly massaged commit message. > Thanks. > Thanks a lot! Joey Lee