Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp207765iob; Mon, 2 May 2022 17:14:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVlkCyXCd1KjrdexOeF+zPiWpmJMhsg8ASLcJ0WjIOysZba9RCt2OtQeHyNVFsD0mVptXH X-Received: by 2002:a05:6a00:22c4:b0:50d:ed2b:2002 with SMTP id f4-20020a056a0022c400b0050ded2b2002mr7046987pfj.54.1651536860330; Mon, 02 May 2022 17:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651536860; cv=none; d=google.com; s=arc-20160816; b=ABPgJ+Zx5o8MHQiAucKOFhaY1emcqYligyf8O0ecGyahl0viH6Q2OsCTUwH40AbXXR C9aSNZzcvRboNgEXxQ5zm1h3AUFh0//FTYHvxIaDeAjmJ5vv+qwilZ3zDeccRMqOXkwU TnLFf1qtQKSLRjkQux48hgafwmdd4DYRFq/auG4BMGvF/NKaVxOIN7y2gSvy15/rzOpx 1Yl3GBMCSiTFDZBdiT8pNCqjAwcujIcTXCI5HsaGwFYWCdCnEi06HZN3z5D4JonCdRlV tOKIsPMhT1zCdct+umWWlborsQbIVC1fUZaDUKHLAK2RgBJ8bW18WmYALdqJPlrtrnVG 87xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date; bh=ivLaFc8bnBNtS5jza9A1hcQOsVOYOnpaVKooR82ha0U=; b=RgluaAWXSYeXBtJ7H4haM75Y7JWm2s/id7hquKINTL6IkPK+89fBwAshizxI6mX7Jj MI69NcR/J9/m6x4di2HOLfZ2Fi3d+VieTijV5mHtOxNURrUL/Q8O76iPo1CsEK1/6JQt Uw12T7dkRDbhrSYESdMfADWxCLS7xXcXMGbbLu9Hw5B7vdVtnl3CI/Wp9ePTkprMaRk4 DSXaY5dF7aQk2Lffo0+k+IkYkbRVv0S6WiIHgFoI3/LNvc0QToKnO6U9Di3HmaZo1NlQ bWrzPaHqrZeQJozbrE7YSR63TbtZXa7bFKZDZxxor2KQ86j1eiRrRhGMqsX4ioK8ObKX vuSg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c10-20020a170902aa4a00b00153b2d1655dsi14791719plr.357.2022.05.02.17.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:14:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4B9137AB9; Mon, 2 May 2022 17:12:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351861AbiEARVo (ORCPT + 99 others); Sun, 1 May 2022 13:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231591AbiEARVm (ORCPT ); Sun, 1 May 2022 13:21:42 -0400 Received: from 14.mo581.mail-out.ovh.net (14.mo581.mail-out.ovh.net [178.33.251.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B68C862A23 for ; Sun, 1 May 2022 10:18:15 -0700 (PDT) Received: from player696.ha.ovh.net (unknown [10.108.1.240]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 19BB9211BC for ; Sun, 1 May 2022 17:08:14 +0000 (UTC) Received: from sk2.org (82-65-25-201.subs.proxad.net [82.65.25.201]) (Authenticated sender: steve@sk2.org) by player696.ha.ovh.net (Postfix) with ESMTPSA id 920801FD70409; Sun, 1 May 2022 17:08:09 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-95G001f5844953-7db1-42db-9d2e-ace5f20121a5, 5040CBFF384BEDF7422707969F5457AB1E143173) smtp.auth=steve@sk2.org X-OVh-ClientIp: 82.65.25.201 Date: Sun, 1 May 2022 19:08:02 +0200 From: Stephen Kitt To: Mark Brown Cc: Liam Girdwood , Wolfram Sang , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 7/7] ASoC: tpa6130: use i2c_match_id and simple i2c probe Message-ID: <20220501190802.6ae4797a@heffalump.sk2.org> In-Reply-To: References: <20220415160613.148882-1-steve@sk2.org> <20220415160613.148882-8-steve@sk2.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/XgdtRu8Xt=SJpMeSq_X_jXU"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Ovh-Tracer-Id: 13726127241353332358 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefgddutdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkjghfofggtgesghdtreerredtjeenucfhrhhomhepufhtvghphhgvnhcumfhithhtuceoshhtvghvvgesshhkvddrohhrgheqnecuggftrfgrthhtvghrnhepieehvedvueegjefffeetffevhfeigeejvefhkeejjedvlefgfeekhefhudffhfejnecukfhppedtrddtrddtrddtpdekvddrieehrddvhedrvddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrieeliedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehsthgvvhgvsehskhdvrdhorhhgpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/XgdtRu8Xt=SJpMeSq_X_jXU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 25 Apr 2022 14:26:50 +0100, Mark Brown wrote: > On Fri, Apr 15, 2022 at 06:06:13PM +0200, Stephen Kitt wrote: > > As part of the ongoing i2c transition to the simple probe > > ("probe_new"), this patch uses i2c_match_id to retrieve the > > driver_data for the probed device. The id parameter is thus no longer > > necessary and the simple probe can be used instead. =20 >=20 > This breaks the build for omap2plus defconfig on arm: >=20 > /build/stage/linux/sound/soc/codecs/tpa6130a2.c:322:11: error: > initialization of =E2=80=98int (*)(struct i2c_client *, const struct i2c_= device_id > *)=E2=80=99 from incompatible pointer type =E2=80=98int (*)(struct i2c_cl= ient *)=E2=80=99 > [-Werror=3Dincompatible-pointer-types] 322 | .probe =3D tpa6130a2_probe,= | > ^~~~~~~~~~~~~~~ > /build/stage/linux/sound/soc/codecs/tpa6130a2.c:322:11: note: (near > initialization for =E2=80=98tpa6130a2_i2c_driver.probe=E2=80=99) cc1: som= e warnings being > treated as errors >=20 > You forgot to move probe() to probe_new() in the driver struct. Sorry about that, I obviously missed that file in my build. v3 will be on its way soon (only for that commit)... Regards, Stephen --Sig_/XgdtRu8Xt=SJpMeSq_X_jXU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmJuvnIACgkQgNMC9Yht g5wIYxAAkmzbwdQBuLGKNjsHvhI3+W82S1wSxg7d8l6PBjjxNK8IWn+kjyIR2dRE qj5CORvlanVZgejPH5JBLIGENU9Gm1iUXE3VTjM3DnjWtuWMrVQCbec5ojy4pXMe JICtv1a2zZQzOq+kA5njrcpfBjEPRHyaykUIBC5AzpxqWJOle8sJw2M7kkSySB5B YK2wkQUwnfjhhFdS+mvS70lprZZ63S/maDAfOlLFM5NHqCvQNqfKC/C3HgPrl98d 8G464ZVvCbZ714VcDx8FKuYKjnzTktwlHzPR+K0dQbYMki0muaM3XxEXN698E1LC RH8CNzNq+R1t8a/UPqqG3+sTCyblyd83ipqZhGhCdMnDegiU8VnVxgfxi9fxaBdB OiIlfXmwpJ7YTcqTStDZvY62ZoqON4IpZs1xiA0OCDIG81nzm94fli4Wh3/9+1Dr RYH+/JaccW/imxxsetmzdYuna3PX6oXOiYSQ7Bf8tQXAzZjI2HQishvMPZOR1Os4 kUIBJ5vQJILgX01qud4vHJZSamfQhoOIjjOKRVSxME9n2jhDzLXn+P9NcARbLAAk 4achZZUrmf9FyboDmhtJOxz/F19md60Q+bz/5gFAAMsCozoRXUp5vR2lVnPtM0OM BoCioJZJz7YuZCs4Y7737awIeR1nfM7zuK7bi1YShgP6y/7Vmno= =icKx -----END PGP SIGNATURE----- --Sig_/XgdtRu8Xt=SJpMeSq_X_jXU--