linux/drivers/mmc/host
Julia Lawall ac940938df mmc: mmci: use clk_prepare_enable and clk_disable_unprepare
clk_prepare_enable and clk_disable_unprepare combine clk_prepare and
clk_enable, and clk_disable and clk_unprepare.  They make the code more
concise, and ensure that clk_unprepare is called when clk_enable fails.

A simplified version of the semantic patch that introduces calls to these
functions is as follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e;
@@

- clk_prepare(e);
- clk_enable(e);
+ clk_prepare_enable(e);

@@
expression e;
@@

- clk_disable(e);
- clk_unprepare(e);
+ clk_disable_unprepare(e);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-10-03 10:05:21 -04:00
..
at91_mci.c
at91_mci.h
atmel-mci-regs.h mmc: atmel-mci: fix burst/chunk size modification 2012-06-06 08:52:12 -04:00
atmel-mci.c mmc: atmel-mci: add device tree support 2012-09-04 13:58:14 -04:00
au1xmmc.c
bfin_sdh.c mmc: bfin_sdh: Reset SD controller when resume from power saving mode. 2012-09-04 13:58:20 -04:00
cb710-mmc.c
cb710-mmc.h
davinci_mmc.c mmc: davinci_mmc: convert to DMA engine API 2012-09-19 16:29:44 +08:00
dw_mmc-exynos.c mmc: dw_mmc: add support for exynos specific implementation of dw-mshc 2012-10-03 10:05:20 -04:00
dw_mmc-pci.c mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference 2012-10-03 10:05:13 -04:00
dw_mmc-pltfm.c mmc: dw_mmc: add support for implementation specific callbacks 2012-10-03 10:05:19 -04:00
dw_mmc-pltfm.h mmc: dw_mmc: add support for implementation specific callbacks 2012-10-03 10:05:19 -04:00
dw_mmc.c mmc: dw_mmc: add support for implementation specific callbacks 2012-10-03 10:05:19 -04:00
dw_mmc.h mmc: dw_mmc: add support for implementation specific callbacks 2012-10-03 10:05:19 -04:00
jz4740_mmc.c
Kconfig mmc: dw_mmc: add support for exynos specific implementation of dw-mshc 2012-10-03 10:05:20 -04:00
Makefile mmc: dw_mmc: add support for exynos specific implementation of dw-mshc 2012-10-03 10:05:20 -04:00
mmc_spi.c mmc: mmc_spi: Use module_spi_driver 2012-09-04 13:58:29 -04:00
mmci.c mmc: mmci: use clk_prepare_enable and clk_disable_unprepare 2012-10-03 10:05:21 -04:00
mmci.h
msm_sdcc.c
msm_sdcc.h
mvsdio.c ARM: Orion: fix driver probe error handling with respect to clk 2012-07-25 17:06:21 +02:00
mvsdio.h
mxcmmc.c mmc mxcmmc: do not depend on grouped clocks 2012-04-25 17:03:38 +02:00
mxs-mmc.c mmc: mxs-mmc: fix deadlock caused by recursion loop 2012-09-04 13:58:06 -04:00
of_mmc_spi.c
omap_hsmmc.c mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ 2012-09-04 13:58:24 -04:00
omap.c mmc: omap: fix mmc_omap_report_irq to use dev_dbg macros 2012-09-04 13:58:22 -04:00
pxamci.c mmc: pxa-mci: add DT bindings 2012-09-04 13:58:12 -04:00
pxamci.h
s3cmci.c mmc: s3cmci: Convert s3cmci driver to gpiolib API 2012-07-22 15:25:44 -04:00
s3cmci.h
sdhci-cns3xxx.c
sdhci-dove.c mmc: sdhci-dove: DT support for sdhci-dove 2012-09-04 13:58:15 -04:00
sdhci-esdhc-imx.c mmc: esdhc: Fix DMA_MASK to not break mx25 DMA access 2012-07-22 16:42:30 -04:00
sdhci-esdhc.h mmc: sdhci-esdhc: break out early if clock is 0 2012-09-04 13:58:06 -04:00
sdhci-of-esdhc.c mmc: eSDHC: Add ADMA mode support 2012-09-04 13:58:12 -04:00
sdhci-of-hlwd.c
sdhci-pci-data.c
sdhci-pci.c mmc: sdhci-pci: Use module_pci_driver 2012-09-04 13:58:29 -04:00
sdhci-pltfm.c mmc: dt: Consolidate DT bindings 2012-05-15 13:29:42 +02:00
sdhci-pltfm.h
sdhci-pxav2.c mmc: sdhci-pxav2, sdhci-pxav3: use clk_prepare/unprepare APIs 2012-09-04 13:58:15 -04:00
sdhci-pxav3.c mmc: sdhci-pxav3: dt: Support "cd-gpios" property 2012-09-19 16:29:12 +08:00
sdhci-s3c.c mmc: sdhci-s3c: Add device tree support 2012-10-03 10:05:20 -04:00
sdhci-spear.c Viresh has moved 2012-06-20 14:39:36 -07:00
sdhci-tegra.c mmc: tegra: convert to device tree support only 2012-09-04 13:58:26 -04:00
sdhci.c mmc: sdhci: Test cd-gpio instead of SDHCI presence when probing 2012-09-19 16:29:45 +08:00
sdhci.h mmc: sdhci: if MAX_CURRENT is 0, try getting current from regulator 2012-07-21 00:02:22 -04:00
sdricoh_cs.c
sh_mmcif.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-07-24 17:12:54 -07:00
sh_mobile_sdhi.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-07-24 17:12:54 -07:00
tifm_sd.c
tmio_mmc_dma.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-03-29 15:34:57 -07:00
tmio_mmc_pio.c mmc: tmio: use generic GPIO CD and WP handlers 2012-07-21 00:02:20 -04:00
tmio_mmc.c
tmio_mmc.h mmc: tmio_mmc: remove unused sdio_irq_enabled flag 2012-03-27 12:20:17 -04:00
ushc.c
via-sdmmc.c mmc: via-sdmmc: Use module_pci_driver 2012-09-04 13:58:30 -04:00
vub300.c mmc: vub300: add missing usb_free_urb 2012-09-04 13:58:16 -04:00
wbsd.c
wbsd.h