[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1627960488.7721.2.camel@mbjsdccf07>
Date: Tue, 3 Aug 2021 11:14:48 +0800
From: Mason Zhang <mason.zhang@...iatek.com>
To: Mark Brown <broonie@...nel.org>
CC: Matthias Brugger <matthias.bgg@...il.com>,
<linux-spi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <leilk.liu@...iatek.com>,
<wsd_upstream@...iatek.com>
Subject: Re: [PATCH 2/3] spi: modify set_cs_timing parameter
On Mon, 2021-08-02 at 21:16 +0100, Mark Brown wrote:
> On Mon, Jul 19, 2021 at 05:16:43PM +0800, Mason Zhang wrote:
> > From: Mason Zhang <Mason.Zhang@...iatek.com>
> >
> > 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 *)' [-Werror=incompatible-pointer-types]
> master->set_cs_timing = tegra_spi_set_hw_cs_timing;
> ^
Dear Mark:
I have fixed this build err in this patch:
https://lore.kernel.org/linux-spi/20210803021328.28291-1-Mason.Zhang@mediatek.com/T/#u
Thanks
Mason
Powered by blists - more mailing lists