diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-02-25 05:21:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-27 05:33:47 -0500 |
commit | 32d3b2d1ddeafe105ab6f738fba427242141194e (patch) | |
tree | 66074650e2ae2eb772472b50ffcb62287dd61802 /drivers/spi/spi-sh-msiof.c | |
parent | 4867147bcde8fa94f56fc6e8149c57ca65c4e5ed (diff) |
spi: sh-msiof: Improve bindings
Documentation:
- Add missing "interrupt-parent", "#address-cells", "#size-cells", and
"clocks" properties,
- Add missing default values for "num-cs", "renesas,tx-fifo-size" and
"renesas,rx-fifo-size",
- Add a reference to the pinctrl documentation.
Implementation:
- As "num-cs" is marked optional, provide a sensible default.
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-sh-msiof.c')
-rw-r--r-- | drivers/spi/spi-sh-msiof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index 6e2ba62ceb63..181efd049d12 100644 --- a/drivers/spi/spi-sh-msiof.c +++ b/drivers/spi/spi-sh-msiof.c | |||
@@ -664,7 +664,7 @@ static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev) | |||
664 | { | 664 | { |
665 | struct sh_msiof_spi_info *info; | 665 | struct sh_msiof_spi_info *info; |
666 | struct device_node *np = dev->of_node; | 666 | struct device_node *np = dev->of_node; |
667 | u32 num_cs = 0; | 667 | u32 num_cs = 1; |
668 | 668 | ||
669 | info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL); | 669 | info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL); |
670 | if (!info) { | 670 | if (!info) { |