]> 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)
commitdb1e6721661265dcda8fd3388728f2901470847f
tree69f2d3c4ae10cf67c400813c5ea12f8a9050cbbb
parent4cd8c2e12215492add262e59dcde209495caeceb
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: 780bba5ca7d1 ("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