diff mbox series

[1/2] spi: soft_spi: fix miso gpio property name

Message ID 20240703010934.1735889-1-mikhail.kshevetskiy@iopsys.eu
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [1/2] spi: soft_spi: fix miso gpio property name | expand

Commit Message

Mikhail Kshevetskiy July 3, 2024, 1:09 a.m. UTC
The patch fix a missprint introduced in commit 2e9fe73a883a ("spi: soft_spi:
Support the recommended soft spi properties").

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
---
 drivers/spi/soft_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Fabio Estevam July 3, 2024, 2:01 a.m. UTC | #1
Hi Mikhail,

On Tue, Jul 2, 2024 at 10:16 PM Mikhail Kshevetskiy
<mikhail.kshevetskiy@iopsys.eu> wrote:
>
> The patch fix a missprint introduced in commit 2e9fe73a883a ("spi: soft_spi:
> Support the recommended soft spi properties").
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>

Thanks for the fix:

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Tom Rini Oct. 10, 2024, 9:34 p.m. UTC | #2
On Wed, 03 Jul 2024 05:09:33 +0400, Mikhail Kshevetskiy wrote:

> The patch fix a missprint introduced in commit 2e9fe73a883a ("spi: soft_spi:
> Support the recommended soft spi properties").
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c
index 0fa14339bdc..3fe62818a44 100644
--- a/drivers/spi/soft_spi.c
+++ b/drivers/spi/soft_spi.c
@@ -272,7 +272,7 @@  static int soft_spi_probe(struct udevice *dev)
 	ret = gpio_request_by_name(dev, "gpio-miso", 0, &plat->miso,
 				   GPIOD_IS_IN);
 	if (ret)
-		ret = gpio_request_by_name(dev, "gpio-miso", 0, &plat->miso,
+		ret = gpio_request_by_name(dev, "miso-gpios", 0, &plat->miso,
 					   GPIOD_IS_IN);
 	if (ret)
 		plat->flags |= SPI_MASTER_NO_RX;