Re: [PATCH] of: spi: Return error from of_spi_register_master on bad "cs-gpios" property

2013-03-03 Thread Grant Likely
On Wed, 13 Feb 2013 14:23:24 +0100, Andreas Larsson wrote: > 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

Re: [PATCH] of: spi: Return error from of_spi_register_master on bad cs-gpios property

2013-03-03 Thread Grant Likely
On Wed, 13 Feb 2013 14:23:24 +0100, Andreas Larsson andr...@gaisler.com wrote: 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

[PATCH] of: spi: Return error from of_spi_register_master on bad "cs-gpios" property

2013-02-13 Thread Andreas Larsson
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

[PATCH] of: spi: Return error from of_spi_register_master on bad cs-gpios property

2013-02-13 Thread Andreas Larsson
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