From patchwork Mon Mar 30 10:49:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen-chien Jesse Sung X-Patchwork-Id: 1263879 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48rTkF09D0z9sP7; Mon, 30 Mar 2020 21:49:57 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jIrzN-0006mP-LJ; Mon, 30 Mar 2020 10:49:53 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jIrzM-0006mI-Bh for kernel-team@lists.ubuntu.com; Mon, 30 Mar 2020 10:49:52 +0000 Received: from 114-34-116-233.hinet-ip.hinet.net ([114.34.116.233] helo=cola.voip.idv.tw) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jIrzL-0004At-Ke; Mon, 30 Mar 2020 10:49:52 +0000 From: Wen-chien Jesse Sung To: kernel-team@lists.ubuntu.com Subject: [B][PATCH 0/1] Support SMO8840 as LIS2DH12 Date: Mon, 30 Mar 2020 18:49:47 +0800 Message-Id: <20200330104948.29679-1-jesse.sung@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://launchpad.net/bugs/1869694 === Impact === According to ST, HID SMO8840 is for LIS2DH12. In Ubuntu kernel, support for this ID is missing in Bionic, and it's mapped to LNG2DM in D/E/F. === Fix === * e43d110cdc20 - iio: st_sensors: remap SMO8840 to LIS2DH12 This is in mainline kernel 5.6, and also 4.19, 5.4, and 5.5 stable trees. === Risk of Regression === Low. Hans de Goede@redhat, who originally mapped SMO8840 to LNG2DM, confirmed the patch works for his Lenovo Ideapad Miix 320: https://lore.kernel.org/linux-iio/20200224095426.25681-1-jesse.sung@canonical.com/T/#u Wen-chien Jesse Sung (1): iio: st_sensors: remap SMO8840 to LIS2DH12 drivers/iio/accel/st_accel_i2c.c | 1 + 1 file changed, 1 insertion(+) Acked-by: Po-Hsu Lin