X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Fspi%2Fspi-atmel.c;h=8feac599e9ab4bfe886b8da89960f04ed32c1aba;hb=3232e7c4db4fd966b30ceec24ed9f37277a81c61;hp=aebad36391c93b36658c52222e761366c111216f;hpb=864f83a1f65bc8614705fc7c053969bb09939215;p=karo-tx-linux.git diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index aebad36391c9..8feac599e9ab 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -1571,6 +1571,7 @@ static int atmel_spi_probe(struct platform_device *pdev) as->use_cs_gpios = true; if (atmel_spi_is_v2(as) && + pdev->dev.of_node && !of_get_property(pdev->dev.of_node, "cs-gpios", NULL)) { as->use_cs_gpios = false; master->num_chipselect = 4;