]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: pwrseq_simple: Add optional reference clock support
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 29 Jan 2015 15:00:06 +0000 (16:00 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 30 Jan 2015 11:10:23 +0000 (12:10 +0100)
commit6018638b83f782015c1fadb2f601517b86941a6b
tree8485f823dafec20c596457251ad36826d30cc293
parentd1c77afb37bf15c5195ba673ecd3f36d47e0d113
mmc: pwrseq_simple: Add optional reference clock support

Some WLAN chips attached to a SDIO interface, need a reference clock.

Since this is very common, extend the prseq_simple driver to support
an optional clock that is enabled prior the card power up procedure.

Note: the external clock is optional. Thus an error is not returned
if the clock is not found.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/pwrseq_simple.c