Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2771931imj; Mon, 11 Feb 2019 08:13:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IYzZuf4CGD9JB/8r1gccAE+ZchoWmkcQwlDl5ESV/icXwcoANWgWXJAKYoWFd5C0hWrjnUE X-Received: by 2002:a62:4bd5:: with SMTP id d82mr11388581pfj.85.1549901630202; Mon, 11 Feb 2019 08:13:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901630; cv=none; d=google.com; s=arc-20160816; b=oG/ONwqhlMJ+HX9Xl4qfgbmtJmw8cs2jNOIWl+Mn4M4acctZ+QCiHnfeY+XrmMn97l rToiCV09nVzAo5lj2qDGJp5oelb9B32PYVFdsAp35EuIvMPquVx03cllNW9yWcAfPJ4E kCoqoqRPBHVWulTvt23nfFa3NBfDmQqwHZJTGo1+S2ar0WVYfFtsKm1Q0yVX9F3wHre5 uIADkx0zw4THX7XPGJwaeItCUg+molYVnavzhM7wjH4T2dN9mx5QYzcTLIB+7bMSDJYG /SOdT/zn2eJD3i05wCltn7RQ/1Mts9Tw7f+EFphUWDrzPB9iCzfqSPEQYnigSzLWI9n9 zPDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Wyl1mJvWGyU9wLEv+mBjRfnsubSzYBPuOCc37Kighvo=; b=l+/ROGl6bvbxqDKzYdI08Wst3VXM8IZBbgaQdkp43IKwEW3DpwWhwhHfLumg9HliDK QcR3XZCoLnDQonjOKAaKWAj0e3xeekqACQsvUMDlrKgA8bOSL8najPSJDvYVY9txrE7d uDer3AgbkukWuvt6HNoj1Es50JdRUC6Mhn6hNr3iW8JXfWCZR5Fkf7kr1p9I8h4hrVAj FU1kw1rs/hS4oAOp5hoQqQZjwh1PWrBvDX+wcw6G2aHhLvm1nZyv37aLNnyqKDRtkAQL MBjeADHN3WAeCSxlexl6yvz2PG4/77UZ1cQcPNs5RlfLmr3FlFf7O7HaFMaJ00ecbEeB 9ZWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XPXjMIMm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si10098278plr.204.2019.02.11.08.13.33; Mon, 11 Feb 2019 08:13:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XPXjMIMm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729168AbfBKOYX (ORCPT + 99 others); Mon, 11 Feb 2019 09:24:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:57442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729132AbfBKOYR (ORCPT ); Mon, 11 Feb 2019 09:24:17 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D5B8920844; Mon, 11 Feb 2019 14:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895056; bh=0JhmxHPIVO8sScmR/sQZ7+RCdqlO9ddRwaO+ac7EM2A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XPXjMIMmf3PgVjU4/OaSzYjwtQcqPfGjV9ckq6JK9ftKK2N/OV3lneHMXmSypC6+Z S/WhQbFnkjuct7uzUVlc7x1l0zp3n8p46g0WjSs4E5hFmGuIsVtTS43nj2XoxoM2Ts U2rBJ87lZey6m6thqwEE9o6cK1aYpgo29W91rF90= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Jonathan Cameron , Sasha Levin Subject: [PATCH 4.20 075/352] iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID Date: Mon, 11 Feb 2019 15:15:02 +0100 Message-Id: <20190211141850.823489311@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 7f6232e69539971cf9eaed07a6c14ab4a2361133 ] Various 2-in-1's use KIOX010A and KIOX020A as HIDs for 2 KXCJ91008 accelerometers. The KIOX010A HID is for the one in the base and the KIOX020A for the accelerometer in the keyboard. Since userspace does not have a way yet to deal with (or ignore) the accelerometer in the keyboard, this commit just adds the KIOX010A HID for now so that display rotation will work. Related: https://github.com/hadess/iio-sensor-proxy/issues/166 Signed-off-by: Hans de Goede Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- drivers/iio/accel/kxcjk-1013.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index af53a1084ee5..471caa5323e4 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c @@ -1490,6 +1490,7 @@ static const struct acpi_device_id kx_acpi_match[] = { {"KXCJ1008", KXCJ91008}, {"KXCJ9000", KXCJ91008}, {"KIOX000A", KXCJ91008}, + {"KIOX010A", KXCJ91008}, /* KXCJ91008 inside the display of a 2-in-1 */ {"KXTJ1009", KXTJ21009}, {"SMO8500", KXCJ91008}, { }, -- 2.19.1