linux/drivers/mmc/core
Ulf Hansson fb09f44e29 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>
2018-05-08 09:32:36 +02:00
..
block.c mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions 2018-05-02 15:08:36 +02:00
block.h
bus.c
bus.h
card.h mmc: core: Add a new quirk for limiting clock rate 2018-05-02 15:08:39 +02:00
core.c
core.h
debugfs.c mmc: Export host capabilities to debugfs. 2018-03-22 10:36:27 +01:00
host.c mmc: core: Add tunable delay before detecting card after card is inserted 2018-05-03 10:33:52 +02:00
host.h mmc: core: Don't try UHS-I mode if 4-bit mode isn't supported 2018-03-15 09:30:39 +01:00
Kconfig
Makefile
mmc_ops.c
mmc_ops.h
mmc_test.c
mmc.c mmc: core: Add capability to avoid 3.3V signaling 2018-05-02 15:08:44 +02:00
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c mmc: pwrseq: Use kmalloc_array instead of stack VLA 2018-05-02 15:08:29 +02:00
pwrseq.c
pwrseq.h
queue.c
queue.h
quirks.h mmc: core: sdio: Set SDIO clock of SDR104 to 150MHz for Marvell 8887 chip 2018-05-02 15:08:39 +02:00
sd_ops.c
sd_ops.h
sd.c mmc: core: Add capability to avoid 3.3V signaling 2018-05-02 15:08:44 +02:00
sd.h
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c mmc: update sdio_claim_irq documentation 2018-03-22 10:50:24 +01:00
sdio_ops.c
sdio_ops.h
sdio_uart.c
sdio.c mmc: core: Re-factor some code for SDIO re-initialization 2018-05-08 09:32:36 +02:00
slot-gpio.c mmc: core: Add tunable delay before detecting card after card is inserted 2018-05-03 10:33:52 +02:00
slot-gpio.h