Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1901596pxy; Mon, 2 Aug 2021 13:20:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAaHWysijl6Q+9AzfL5SrSiu6IHUGWQvqQ3jkMDlBZO11mT/Y7kLebG3EMJm9ZABDSYuRi X-Received: by 2002:a17:906:6046:: with SMTP id p6mr17279055ejj.344.1627935652388; Mon, 02 Aug 2021 13:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627935652; cv=none; d=google.com; s=arc-20160816; b=QOvMlS41SVVrVO7hdR0J3tlIXU2IY/f9XbTudLhIioXO6cNYlS0ZmBBPoS98OSDScM Wbpjx9Q4cgs074qJ/hs42Zw0BLLtIankCz4xaxHJNIjrQI+/LyqgbEgN4mZrcpQ6DcKU 940n4+HSZLYIYJIuANg8h/T8wbxvurTg3qnf895ZUpIoCVFSu22yI7eI8r3Hynv+xcSS wwtUktAG/rh6V3OYgJcz1gl/cdITtm6pcbymIRbH8MI9KZzOh12B3XAljWl+cBtcpoZO bl133K3+VsEd5zRCb9wD/YsFQk97J5ggLplVAEVOWceCGA//PiSE/ZCFwKN1eVKxgPin wBEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Y0PtMQgbSSE/P0fkay+EnMRAnRYTfd4xKNW5vvrBB6s=; b=mLVMErjghZvlrEGxiEwjW4MGIdJs3D5BlULq43FGB42jmYGvkUh3cvnMrNvjIByyg9 memMGl701NMiWcRaGTlolDfxOvWZKot1tAt//2WBZeq2mw7Fdac8BYuRDAYfNM5MkTXs crduxKYrra1wbiiCK3jxUibyQQUtrsmEG2E9FIUbgz4FijTj44BXY0hHGrOyIOloJ1eK D1SfBt6WRFFo0gKFUyztltiFSu/axFN5F58NIWvd3pKobB+OCOy0dIYSRVTghanUmOtL ypvELrT9bld5fQZHQHEmk9KcNBWHMIbYvH41ntVrXrT6xY/HDzoVtGVpbC5CnoLrf2+W aTGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fVuyEfUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v19si10883952edr.353.2021.08.02.13.20.29; Mon, 02 Aug 2021 13:20:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=fVuyEfUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231324AbhHBUQj (ORCPT + 99 others); Mon, 2 Aug 2021 16:16:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:49626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231287AbhHBUQi (ORCPT ); Mon, 2 Aug 2021 16:16:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5036E6100A; Mon, 2 Aug 2021 20:16:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627935388; bh=1ftJ9kb+Y2xAzoMqL2sOYtIko6amvbIbdc1OAEJxocA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fVuyEfUv4izjaGIz+P+Ea3mknWUyuJyiQ2TQ2MdPkQucekEpoqrh68+Vyhlqgi70S jD9dXjdaPvkjS5V5fK59wOZ1hihrL48U5gOwd3JTEP8es04ssFJeXki1DdVG0YlBxr vf8kLCAoDA/clTyAowv8NtWEqohkyDwMIccbXn+4H3umMBVQJyHmXijrY7oL8jQmKZ PaKMvI4kgnmOQbFHY/6LB6cNW6uAJ9Gb+aXQjBWZ9diY2mC3HKCWf/Nr+JzQZZvrlU HlH2ZeCOwhXxQPs6Np1SEcUyECFxFFSEOsyLmt8lSocKr+k9sPKHnvqEU+HDxylBZX XxovNwQ/gV/sQ== Date: Mon, 2 Aug 2021 21:16:14 +0100 From: Mark Brown To: Mason Zhang Cc: Matthias Brugger , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, leilk.liu@mediatek.com, wsd_upstream@mediatek.com Subject: Re: [PATCH 2/3] spi: modify set_cs_timing parameter Message-ID: <20210802201614.GA39900@sirena.org.uk> References: <20210719091642.24633-1-mason.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20210719091642.24633-1-mason.zhang@mediatek.com> X-Cookie: hacker, n.: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 19, 2021 at 05:16:43PM +0800, Mason Zhang wrote: > From: Mason Zhang >=20 > No need pass in spi_delay to set_cs_timing callback. This breaks the build: /mnt/kernel/drivers/spi/spi-tegra114.c: In function 'tegra_spi_probe': /mnt/kernel/drivers/spi/spi-tegra114.c:1328:24: error: assignment to 'int (= *)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi= _device *, struct spi_delay *, struct spi_delay *, struct spi_delay *)' [-W= error=3Dincompatible-pointer-types] master->set_cs_timing =3D tegra_spi_set_hw_cs_timing; ^ --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEIUo0ACgkQJNaLcl1U h9A9nAf9F1Go1sfPbVr4y4p+ywDUg5Wsr+MKi1rOBL4AbcQ1yxaoPt+Hy9u9SMos 0LRfPt0j7LOGZr7vifhjc3oUF1RlB9y6gUMBcLiim6+4pbUz+Tajw2porzvSiK94 MvdhImTpbS8LPsEKwhXkpogz2uBiOMzmIlGHJL/k2gsewC1xGlXmdORTM+UBfr9Q EXPNo9RPLAJP4WGoHjenHIQ7iixQnoLHnikVJtzET2heloGFaTdm0XUL2KUSE7s8 vOe18JfW8HRf19mr0CNVp4cKg4jE1gQEzXS7s64laov5hmoaFpf6eXVDFX7F0/u+ EVjpgvgR5/Yb/J/BntGxYQQyaGxUHA== =rKDf -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--