OSDN Git Service

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)
commitc13045b1e939a9ecffab4a8f8d514e8a2a0bd2c9
tree8485f823dafec20c596457251ad36826d30cc293
parent3f656a168c70a583a5d87614eb4a707abd7f80b9
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