]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: soft_spi: fix miso gpio property name
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Wed, 31 Jul 2024 04:11:28 +0000 (08:11 +0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Aug 2024 17:28:47 +0000 (11:28 -0600)
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>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/spi/soft_spi.c

index 9bdb4a5bff9bf9006c9e1b43c12714288dd6ba95..04691d3a3ba36727f81bcc10f0f5d87e5eda12f2 100644 (file)
@@ -271,7 +271,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;