]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: pwrseq_simple: Make reset-gpios optional to match doc
authorMartin Fuzzey <mfuzzey@parkeon.com>
Wed, 20 Jan 2016 15:08:03 +0000 (16:08 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 21 Jan 2016 12:52:27 +0000 (13:52 +0100)
commit60434b8b9dfd08b99227e21dce19f59b952d097f
tree69f2d3c4ae10cf67c400813c5ea12f8a9050cbbb
parent18c51f8df5dccec38920e355de23dbe0daa65586
mmc: pwrseq_simple: Make reset-gpios optional to match doc

The DT binding doc says reset-gpios is an optional property but the code
currently bails out if it is omitted.

This is a regression since it breaks previously working device trees.
Fix it by restoring the original documented behaviour.

Fixes: e059b6965eea ("mmc: pwrseq_simple: use GPIO descriptors array API")
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/pwrseq_simple.c