Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3627527imu; Mon, 28 Jan 2019 08:05:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN4bWos88idHG33JX8bV8tpVdVitlP7jarfHgY0MY98i37dzBpCNTuZWchK+gx2MWqS2Dx3b X-Received: by 2002:a63:2744:: with SMTP id n65mr20237306pgn.65.1548691509105; Mon, 28 Jan 2019 08:05:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691509; cv=none; d=google.com; s=arc-20160816; b=Tj6285loHRfAEt5EeKA4UAImhOIG4BS8GLB0mmrQvUhag2bs4KD+gUXMigQaYkZry6 V8iBYaWKbkdqDY4PEuWj+jcQZV3PwBPuyevKcgdC99/6kEdK9iWUdOyqI1L0xlPoQTsb EzHF6jPSe2uCZL9SWN9OGKmJCT7O5LKGwSBQK2Mg1QHj8/IQNxN0Asr482tCOaUzYOtV DJsoBiplOfW/fFh9SnQId22OFewfR2ckoMMfeepwpuyvtqT/GVSm3x6/EQ04xaX3eFqB ZtSmd+LZG2CFy1uiV4GQ7qMgQ1m0ig+eTE7rnpRJPUi1o8L9WhS4UI1N3VFpyh5bbjSr l+Sw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Fh+66C+Q3MAhjgMEVr9zu7C2+A4IPKtxX/whhPzg7j0=; b=dK+RXt/L/Vvjwtu9zzli5zbuIV+IoOKPhjxTwWmb4psF/13TgicrGQJMtUURt1CSNc 9J0BiWgDwMwUUka6dYerw5jyAkCEqMSwF9gcLlycnCAj2r/nNbyQHNGYYSCBPB5STpHP j98rYrwU1t0eCuHxsqdou+1an0Y51CWfFkzMXTsNVSAGKKhBjmWaVQtvh9tCUpy4mU+W VSlLIzOcNuz5ubQH5l49uB5Z3930uskbJwHKVGhJ2Ui1XGf0AHJJZBWZB95c8HswXHCW cTygjVpVD3BgNnS4+vN9NIxUG/+uE4HqiKddJr/q5hXqW5XbJMKrKQEvOGlXeXMlK6zn Wvdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sjV+SleP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f24si33900975pgj.315.2019.01.28.08.04.53; Mon, 28 Jan 2019 08:05:09 -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=sjV+SleP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729657AbfA1QCu (ORCPT + 99 others); Mon, 28 Jan 2019 11:02:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:48058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731269AbfA1QCo (ORCPT ); Mon, 28 Jan 2019 11:02:44 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B87F2082E; Mon, 28 Jan 2019 16:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691363; bh=7th7D4fr9d2chQ+Vm0EW43uOlgWH6nxQaaMdIP9gS84=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sjV+SlePa8MZ8BRDNVUcvjEsqDJaOD00myJrkiQ+GD6nxutwIa7a3LQAlmH3iDox/ ljuwMmEYJQ2d04a6AL2DAarFU+yKfmYYbzNK91nj9NebUcuxp0So07tjmD+LgdRkxj l6p0yvszMUQw0dYM30BYrgNx0uROjulvgsXp+moA= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Jonathan Cameron , Sasha Levin , linux-iio@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 068/258] iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID Date: Mon, 28 Jan 2019 10:56:14 -0500 Message-Id: <20190128155924.51521-68-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ 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