From: Andreas Larsson Date: Wed, 13 Feb 2013 13:23:24 +0000 (+0100) Subject: spi: Return error from of_spi_register_master on bad "cs-gpios" property X-Git-Tag: v3.10-rc2~35^2^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ec5d84ef51cc64ed02bb9bf0e43a652178252c1;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed