Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2725995imj; Mon, 11 Feb 2019 07:34:06 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibec8IFhhyZ4X/VL7FtLummrAfJceOWtMhsVNCssIZRWFPh1Wc/fc1C8eqAE11/OvO1ZJsb X-Received: by 2002:a63:94:: with SMTP id 142mr17358762pga.74.1549899246549; Mon, 11 Feb 2019 07:34:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549899246; cv=none; d=google.com; s=arc-20160816; b=vVHYvx9Mg+RLKrnbXsZ/8NM2oSikjaxb073gN89+W5L9crl9LxuuRIRRl5g5faWZ+I uKz4lmFPavnlgNRgepkd/Pz0+zLdEx6stbLHkKeT1WG7xO6yssIQ7Nbg5OwWQqzhaBfQ vZFcJBQZpAnxFWlhzPx7pgdKX949j6NyCmtlbmPTDtVGEYuy2YCARjegGXseeOUDNlT/ B8mtVIzSKgQNCRtzbvMpTR7K8ldf/1CxG54zeYh6KS3OkIGn8PgikW/Avkh5nCQy433j jJqsCcvU7rLkYA9fvcYvQkC1+xIHdZGJbHCQLU2N58I9PisbbcOk7U7d7TrwEqCK9EDN 7ZwQ== 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=rAbVINLn2pa1cKKkmv4YC6v7W/G7F9vTwoJVJq6wEQU=; b=HsYlgDtdhsZj/MYnQqA89RP/p2AQwBINm3zQVDBYx5yWpCPxUcUs+yTwmXiLc3FZzi zpg9yyFZ80uTBfQMIzf1yBd1i8fB69ZjheSjfHAAD1Vz/Pirc9sNY2xOYovvDxZt5kjp uH/4ad3WlRg2xKvPuneunMsaBi8KWjCDyll0Sw4Z/Hwo4XZk+2UkkxehYYO9ygmLhG8t bQhb4kQ8C3+5FWLIOEsbyozwy8rfqI2929Otj+rCzX9IaSobKBhIZ3lbHrhzFJbJNSSo A9zUB78Gmsdm+PG1cWL70k6Xl9xCEXzOk1TfEk9jYmJ366DPDZMLOv4UlT3/U2cfoLLr /Pcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NX9RI4bB; 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 q6si2912588pgq.442.2019.02.11.07.33.49; Mon, 11 Feb 2019 07:34:06 -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=NX9RI4bB; 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 S2389020AbfBKOzn (ORCPT + 99 others); Mon, 11 Feb 2019 09:55:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:42784 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387676AbfBKOzm (ORCPT ); Mon, 11 Feb 2019 09:55:42 -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 01FD420700; Mon, 11 Feb 2019 14:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549896941; bh=2vdOGnzwkyNtQBfSrCwlVoNbVtzjzsuqfDnzgiNW68U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NX9RI4bBYrXnFdgLNOswg2esqjpQTZKoiTv7hSJxw85jyVaQ3YWCpv70mOY60coPv PSU+N23GRM6T3/2FddfZAADtOU0OhWQHoRnYonSTy4qDJ28T+485QwOvlV9Ui0gXUq xQCaagzYMU5FxuGw5zNJP2OeEub9OM5QBtO1Vi5U= 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.14 038/205] iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID Date: Mon, 11 Feb 2019 15:17:16 +0100 Message-Id: <20190211141830.498630599@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@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.14-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 3f968c46e667..784636800361 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c @@ -1393,6 +1393,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