summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2015-05-11 16:46:47 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-05-08 09:32:36 +0200
commitfb09f44e290b1775fbeadb4289dbcfc2f954b0d2 (patch)
tree9ed93d6a44a599ae3f3817ecc5723fd45590adab /certs
parent5581cfcdccf139466c3a5f2ad5f58a09a1cd76f3 (diff)
downloadlinux-fb09f44e290b1775fbeadb4289dbcfc2f954b0d2.tar.gz
linux-fb09f44e290b1775fbeadb4289dbcfc2f954b0d2.tar.bz2
linux-fb09f44e290b1775fbeadb4289dbcfc2f954b0d2.zip
mmc: core: Re-factor some code for SDIO re-initialization
The mmc_sdio_init_card() function has a couple of callers. In the re-initialization cases, some additional reset commands are issued before mmc_sdio_init_card() is called. As these additional reset commands are the same, let's move these into a new static function, mmc_sdio_reinit_card() and call mmc_sdio_init_card() from there. In this way we avoid the open coding. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions