Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1701573rdb; Thu, 7 Dec 2023 06:43:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXMSvYbDNogcemjX5zigeQJZNzHQqinKnA27RlceShLT9SaZYMXCihXvA4TXSuGCX08yiU X-Received: by 2002:a05:6e02:1d18:b0:35d:66dd:ca6b with SMTP id i24-20020a056e021d1800b0035d66ddca6bmr3417684ila.7.1701960218833; Thu, 07 Dec 2023 06:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701960218; cv=none; d=google.com; s=arc-20160816; b=CK94Yelu5Lqa4RDxPIUIjtpiuRnQCYqoYxyonOscUWPC0kQJxpPT0FpWgXzj9dw/5L Xd8AjnfC5ND+0e0Q9fzEGpCL9V0rUHpu+xqWDdmetPIy+XSry3E+MmPQgxQEV74sCqGV FoWsUXmT+f3ar1WY6XUColHjw6zzxZ3tSzMeUerZ+iCLniDtK8O66cgB4EjjCg5k7Rec DvpKBnPgEh1x+DvPcoxNqqagdSg3Ylssp/ZUJ8ae5uHdXGhTzUVS/euZga8LE60sJmuR QgKVPP7mwbt52V+4Ebfw1bDwzZQOtIKxpM9Myk7JdF1/ohuLRpjPR0Yg0jruqxqxofFD 1q4Q== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=dnlnsUzh6H5eo2zn3yHdZnMgp7Vv3zRBl0xZJbMmPhQ=; fh=fcO37pcaX70ER3pCtbLI+p1/1X6N63w6a/DFgElricQ=; b=Lrwl9SVxlI0v02ALLREI9RutpS2udkJUaqKSQtqNiVSM5QB4e9JrIDkz/EUrnDc4dW nsc7GEl/WrgmwHZHiqdNm/6rNRosfk03yYJM/Ca1ASD/MvZq2eTM8X1oqdfGRE2iztN5 t45wgAZfteXC87Yhuk2erjghtOtoG4ImliKDPpCY0wH/OT0/9AN81Rgi97i72oBsf4vL xDHIHad51+dhhzbm2LfCg0AgEPi7YPCrrlprXEtniGkX2PwzZXxRvWnQtKoD9jQGanPy XqZ/K+nAswtOGo2NrSsWI8xFFopA39kLzxieA7KyHEh5wIeyL9IsJRv3FlMLebtJXmvx Cadw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XbZu5YQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l26-20020a65681a000000b005c1b322b3c1si1291217pgt.681.2023.12.07.06.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:43:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XbZu5YQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6AF9780A80CD; Thu, 7 Dec 2023 06:43:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443361AbjLGOnT (ORCPT + 99 others); Thu, 7 Dec 2023 09:43:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443335AbjLGOnS (ORCPT ); Thu, 7 Dec 2023 09:43:18 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98CF5AA for ; Thu, 7 Dec 2023 06:43:24 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F247C433C8; Thu, 7 Dec 2023 14:43:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701960204; bh=ZB2DauAIH9sieCvspymkqF88MIq6wzjcMQoKXrlFZrg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XbZu5YQ1UgWnVOJqGNP7exbnBaqWJIH47N3tl+XPxKNZhx42XAVuRQ+6+ZcSMwCQh Lk4SGrACSHqBQsnu3C0BJOjG5am+V3xo6ybS1H4wLUFFugYrsLQxPc8MnO7n1bl4AC o+EvC4K+KYqTK1Hj6JglxfcMMe6u1rvL8iAWPD3YJI4BpVUiuApPaEVFVxrtz0MO8t mIvKVSnk3jCUKpnNWu4IT/i7mnx/9mAWJDuJJuQotyHQVnOOuR4CAeBBSvshOTQqsb 4DdoklGU/kLFq6/5fWsPk6Cds091W55hwY7aL/7gWQv2XCd1DF+eA/MxylHxgaZYW6 TX9HoWvIW8rZA== Date: Thu, 7 Dec 2023 15:43:20 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Sjoerd Simons Cc: kernel@collabora.com, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] bus: moxtet: Add spi device table Message-ID: <20231207154320.4bd7d7a0@dellmb> In-Reply-To: <20231128213536.3764212-3-sjoerd@collabora.com> References: <20231128213536.3764212-1-sjoerd@collabora.com> <20231128213536.3764212-3-sjoerd@collabora.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:43:36 -0800 (PST) On Tue, 28 Nov 2023 22:35:05 +0100 Sjoerd Simons wrote: > The moxtet module fails to auto-load on. Add a SPI id table to > allow it to do so. >=20 > Signed-off-by: Sjoerd Simons > Cc: stable@vger.kernel.org >=20 > --- >=20 > (no changes since v1) >=20 > drivers/bus/moxtet.c | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/drivers/bus/moxtet.c b/drivers/bus/moxtet.c > index 48c18f95660a..e384fbc6c1d9 100644 > --- a/drivers/bus/moxtet.c > +++ b/drivers/bus/moxtet.c > @@ -830,6 +830,12 @@ static void moxtet_remove(struct spi_device *spi) > mutex_destroy(&moxtet->lock); > } > =20 > +static const struct spi_device_id moxtet_spi_ids[] =3D { > + { "moxtet" }, > + { }, > +}; > +MODULE_DEVICE_TABLE(spi, moxtet_spi_ids); > + > static const struct of_device_id moxtet_dt_ids[] =3D { > { .compatible =3D "cznic,moxtet" }, > {}, > @@ -841,6 +847,7 @@ static struct spi_driver moxtet_spi_driver =3D { > .name =3D "moxtet", > .of_match_table =3D moxtet_dt_ids, > }, > + .id_table =3D moxtet_spi_ids, > .probe =3D moxtet_probe, > .remove =3D moxtet_remove, > }; Reviewed-by: Marek Beh=C3=BAn