From patchwork Mon Sep 27 13:40:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 514690 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp4130995jao; Mon, 27 Sep 2021 06:40:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTl2pdvp3hb24h1J6kVO1PKqmb0fasG2/8J0hN9KMzVIRvax57zmfobJG3ZgonNhXVs1Uk X-Received: by 2002:a17:902:8bc1:b0:13d:e884:125a with SMTP id r1-20020a1709028bc100b0013de884125amr16323069plo.38.1632750057432; Mon, 27 Sep 2021 06:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632750057; cv=none; d=google.com; s=arc-20160816; b=kfF7t/dvkOWjQIy4id61MFTqQgPjAclgY366nf5tdTap01mkOH8pfqVdpGks0Z5+yc b5iwwBlbUxSHSDPi3wrhVs+i9YCUf/F1hC/Ju3b3zRGV+jOOiRyLTbYQGPTEvscmlTRj Hx4hYq/dEHLPue3g3v/IL3BDeNnA+KhdFthQ8o82GFKkapmcE6iHBSP9Qz/jNwwtJfhf R/kUjuPDlZjVNdDhLUwLqbEf+i7Gk3dfbIFxgfNY+9iTfQ+Zq3SD7eK44nTim6/oiq6f jXXOXxxnuhAO1fb0J2UKyuxyoMUtYJsOguCenpZCwVHBrBNLzbK+UabSjGk5dH5CXKeE /qEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wC7j3MQl/PHhV3zkWi44vxtUJRvKKLVvq9pq+6ud16I=; b=cWXN4+Ce+LjAfTQDDdtzXpKHm+fx7CslawV0htBCTRs+X10Xmpo4T774GKoMsRRHd3 30NL3dLj7XTWKPyUjSsBAFi4ihz+o3TfKpczyoX7g0Nad4uQufiFlqt/efT9gghsjuTk 3a5D456OC0fZs6KuIVOOolrnpvbiGgewjGDctGpGWjTlS0bhi+4k1r1mxGNFGm5U6JaD D2xoh8+KDaRgfRgy7UllrWN2+RX2z+oUn9XtWpE1Qvr2tqvu8f8AtUAatA8et9eYi0Di +SKrYQQIixi+y1arIHcuYjS0ox4+NjZ7Dp3gFaHS7OtDEE5inrgG3sNGlkKpY0UAGwjO q7Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TbwgOFH7; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-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. [23.128.96.18]) by mx.google.com with ESMTP id l4si13028298pls.304.2021.09.27.06.40.57; Mon, 27 Sep 2021 06:40:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TbwgOFH7; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-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 S234360AbhI0Nme (ORCPT + 1 other); Mon, 27 Sep 2021 09:42:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:38112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232185AbhI0Nmd (ORCPT ); Mon, 27 Sep 2021 09:42:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 95D0E60230; Mon, 27 Sep 2021 13:40:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632750056; bh=O8uvAzoNmBiLvdmdq/5fnnecg4NdC0khGr5cryy07u8=; h=From:To:Cc:Subject:Date:From; b=TbwgOFH7R/bMhYMiTGydDL/3nH2gEKlsw/RvM9Kez0eQ2jGlpnrEGaDQeSRCFRjMK jdvJFwoDLbjZTzPnYCJTi7UcChwCN26lPWQKCL2hnXxjUGcWcrcpWSUtDHBQ4dyMuq OP+V0V0SM42Vnei/5p3DWGAXR3Qq6BAgNDeFzDj5hhG/oxrrzBmYrkSNg6rUX0kTMx LLoBz2IeCTMI7M4Hl3EhHJbz1j+lhy5UmvY02PB0MqSLFzkbOQLeSfN/g/FCF1avo9 CRynC/TpRMpwIXfvZVMxyHAC6yDrGf38E9vdAhG1iCg+N/9/+o6rhkoBvV7d6XaTvc w4Lpj1F0s/kmQ== From: Mark Brown To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Mark Brown Subject: [PATCH] input: rmi_spi: Add missing entries SPI to device ID table Date: Mon, 27 Sep 2021 14:40:00 +0100 Message-Id: <20210927134000.15993-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=920; h=from:subject; bh=O8uvAzoNmBiLvdmdq/5fnnecg4NdC0khGr5cryy07u8=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhUcmeu4B8KL3yw+xSEv5zmrmh3QigJ0BtMKbcdfKT xjqoeuaJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYVHJngAKCRAk1otyXVSH0F0LB/ 9V4XeBVNCLGzzQ60Fv8/zmZpbkv/Dlx59bXN75AwxBzneZuJxUPF2jZVVt40xdQEJbv4Ai5h1rrXLi NVBN6WYGXRxqC4X3cELil4lMTzwCFAW7MttI27VOU0BMAE2/jeDZRZBY1hUGeHj9Ct+yP5MaIGqgbB 4ufw0C5i712YXsQjprsKN7CfoH8HDi+cQuFQn/+T/V3KmDYn8w3ktzbdm108FJSq1O5wi+mylgA00s 5Ov1WB8RmRdEdwtPME99myG50SBVnzXoVvUO7/RJMSCxeQfPRBA/ime6AfplJQSZ0T4Bjatj9l/aWs W1QmoeameRcxzjPpvPmfZgdNtjPk/Z X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding SPI IDs for parts that only have a compatible listed. Fixes: 96c8395e2166 ("spi: Revert modalias changes") Signed-off-by: Mark Brown --- drivers/input/rmi4/rmi_spi.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/drivers/input/rmi4/rmi_spi.c b/drivers/input/rmi4/rmi_spi.c index c82edda66b23..1dccb8dd8919 100644 --- a/drivers/input/rmi4/rmi_spi.c +++ b/drivers/input/rmi4/rmi_spi.c @@ -511,6 +511,7 @@ static const struct dev_pm_ops rmi_spi_pm = { static const struct spi_device_id rmi_id[] = { { "rmi4_spi", 0 }, + { "rmi4-spi", 0 }, { } }; MODULE_DEVICE_TABLE(spi, rmi_id);