[PATCH] spi: Fix probing SPI drivers without a cs-gpios node

Sascha Hauer sha at pengutronix.de
Mon Jan 23 00:43:53 PST 2023


On Sun, Jan 22, 2023 at 09:09:38PM +0300, Alexander Shiyan wrote:
> I dont know. I said how would I do it if it was my patch. I hope
> Sasсha will decide how it will be better.

I would also prefer a dedicated function that just returns 0 if there
are no CS GPIOs found.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list