| From 89740f80939ddd9b73648da2a97c8f31ae16050a Mon Sep 17 00:00:00 2001 |
| From: Sam Shih <sam.shih@mediatek.com> |
| Date: Fri, 2 Jun 2023 13:06:22 +0800 |
| Subject: [PATCH] |
| [spi-and-storage][999-2376-drivers-spi-mt65xx-add-dts-buswidth-flow.patch] |
| |
| --- |
| drivers/spi/spi-mt65xx.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c |
| index b80f8dcd9..ac95e26c1 100644 |
| --- a/drivers/spi/spi-mt65xx.c |
| +++ b/drivers/spi/spi-mt65xx.c |
| @@ -1080,7 +1080,7 @@ static int mtk_spi_probe(struct platform_device *pdev) |
| master->flags = SPI_MASTER_MUST_TX; |
| |
| if (mdata->dev_comp->ipm_design) |
| - master->mode_bits |= SPI_LOOP; |
| + master->mode_bits |= SPI_LOOP | SPI_RX_DUAL | SPI_TX_DUAL | SPI_RX_QUAD | SPI_TX_QUAD; |
| |
| if (mdata->dev_comp->ipm_design) { |
| mdata->dev = dev; |
| -- |
| 2.34.1 |
| |