]> git.karo-electronics.de Git - linux-beck.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)
commit64a67d4762ce3ce4c9466eadd152d825fbf84967
tree69f2d3c4ae10cf67c400813c5ea12f8a9050cbbb
parent07cbeea5412fa82543cbdba94ca94799fdb7bf55
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: ce037275861e ("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