[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210719091642.24633-1-mason.zhang@mediatek.com>
Date: Mon, 19 Jul 2021 17:16:43 +0800
From: Mason Zhang <mason.zhang@...iatek.com>
To: Mark Brown <broonie@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
CC: <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>, Mason Zhang <Mason.Zhang@...iatek.com>
Subject: [PATCH 2/3] spi: modify set_cs_timing parameter
From: Mason Zhang <Mason.Zhang@...iatek.com>
No need pass in spi_delay to set_cs_timing callback.
Signed-off-by: Mason Zhang <Mason.Zhang@...iatek.com>
---
include/linux/spi/spi.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 651e19ba3415..fe027efb85c2 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -553,8 +553,7 @@ struct spi_controller {
* to configure specific CS timing through spi_set_cs_timing() after
* spi_setup().
*/
- int (*set_cs_timing)(struct spi_device *spi, struct spi_delay *setup,
- struct spi_delay *hold, struct spi_delay *inactive);
+ int (*set_cs_timing)(struct spi_device *spi);
/* bidirectional bulk transfers
*
--
2.18.0
Powered by blists - more mailing lists