Andreas Larsson 8ec5d84ef5 spi: Return error from of_spi_register_master on bad "cs-gpios" property
This makes sure that an error is returned on an incorrectly formed
"cs-gpios" property, but reports success when the "cs-gpios" property is
well formed or missing.

When holes in the cs-gpios property phandle list is used to indicate
that some other form of chipselect is to be used it is important that
failure to read a broken "cs-gpios" property does not silently fail
leading to the spi controller to use an unintended chipselect.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2013-04-07 10:12:21 +01:00
..
2013-02-06 10:41:12 +00:00
2011-06-06 01:16:30 -06:00
2011-09-21 09:41:48 -06:00
2013-02-21 12:05:51 -08:00
2011-06-06 01:16:30 -06:00
2013-02-05 13:17:12 +00:00
2013-02-21 12:05:51 -08:00
2013-02-20 11:04:46 -08:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2013-02-21 12:05:51 -08:00