linux/drivers/mmc/host
Arnd Bergmann a829abf8da ARM: pxa: propagate errors from regulator_enable() to pxamci
The em_x270_mci_setpower() and em_x270_usb_hub_init() functions
call regulator_enable(), which may return an error that must
be checked.

This changes the em_x270_usb_hub_init() function to bail out
if it fails, and changes the pxamci_platform_data->setpower
callback so that the a failed em_x270_mci_setpower call
can be propagated by the pxamci driver into the mmc core.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Chris Ball <cjb@laptop.org>
[olof: fixed order of regulator_enable() and test in em_x270_usb_hub_init]
Signed-off-by: Olof Johansson <olof@lixom.net>
2013-07-23 12:15:15 -07:00
..
android-goldfish.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
atmel-mci-regs.h mmc: atmel-mci: AP700x PDC is not connected to MCI 2012-10-03 10:05:23 -04:00
atmel-mci.c mmc: atmel-mci: remove include <mach/cpu.h> 2013-06-27 11:26:24 -04:00
au1xmmc.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
bfin_sdh.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
cb710-mmc.c mmc: host: use platform_{get,set}_drvdata() 2013-06-27 11:13:02 -04:00
cb710-mmc.h mmc: host: use platform_{get,set}_drvdata() 2013-06-27 11:13:02 -04:00
davinci_mmc.c MMC highlights for 3.11: 2013-07-10 11:16:00 -07:00
dw_mmc-exynos.c mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA 2013-06-27 12:39:24 -04:00
dw_mmc-pci.c mmc: dw_mmc-pci: convert to use pcim_* and devm_* 2013-06-27 11:25:07 -04:00
dw_mmc-pltfm.c mmc: dw_mmc-pltfm: add Rockchip variant 2013-07-05 12:46:27 -04:00
dw_mmc-pltfm.h mmc: remove use of __devexit 2012-11-28 12:28:18 -08:00
dw_mmc-socfpga.c mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA 2013-06-27 12:39:24 -04:00
dw_mmc.c mmc: dw_mmc: Add the ability to set the ciu clock frequency 2013-06-27 12:39:10 -04:00
dw_mmc.h mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA 2013-06-27 12:39:24 -04:00
jz4740_mmc.c mmc: jz4740: Use managed resources 2013-06-27 12:39:14 -04:00
Kconfig mmc: bcm281xx SDHCI driver 2013-07-05 13:00:31 -04:00
Makefile mmc: bcm281xx SDHCI driver 2013-07-05 13:00:31 -04:00
mmc_spi.c mmc: remove use of __devexit 2012-11-28 12:28:18 -08:00
mmci.c ARM: 7726/1: mmc: mmci: Add card_busy function to improve UHS card support 2013-05-23 00:09:16 +01:00
mmci.h ARM: 7726/1: mmc: mmci: Add card_busy function to improve UHS card support 2013-05-23 00:09:16 +01:00
msm_sdcc.c msm_sdcc: Convert to clk_prepare/unprepare 2013-06-24 13:06:42 -07:00
msm_sdcc.h
mvsdio.c mmc: mvsdio: use standard MMC device-tree binding parser mmc_of_parse() 2013-06-27 10:25:00 -04:00
mvsdio.h
mxcmmc.c mmc: mxcmmc: handle mmc_of_parse() errors during probe 2013-06-27 10:23:05 -04:00
mxs-mmc.c mmc: mxs-mmc: Let device core handle pinctrl 2013-06-27 10:49:16 -04:00
of_mmc_spi.c mmc: mmc_spi: Fix return value evaluation of irq_of_parse_and_map() 2013-02-24 14:37:10 -05:00
omap_hsmmc.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
omap.c mmc: omap: remove unnecessary #if 0's 2013-07-05 12:46:29 -04:00
pxamci.c ARM: pxa: propagate errors from regulator_enable() to pxamci 2013-07-23 12:15:15 -07:00
pxamci.h
rtsx_pci_sdmmc.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
s3cmci.c mmc: s3cmci: moved mach/regs-sdi.h into s3cmci device driver 2013-03-05 10:42:47 +09:00
s3cmci.h
sdhci-acpi.c mmc: sdhci-acpi: add support for eMMC hardware reset for HID 80860F14 2013-07-05 12:46:25 -04:00
sdhci-bcm2835.c mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-bcm-kona.c mmc: bcm281xx SDHCI driver 2013-07-05 13:00:31 -04:00
sdhci-cns3xxx.c mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-dove.c mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-esdhc-imx.c mmc: esdhc-imx: parse max-frequency from devicetree 2013-06-27 11:29:41 -04:00
sdhci-esdhc.h mmc: esdhc: Add support for 8-bit bus width and non-removable card 2013-07-05 12:46:30 -04:00
sdhci-of-esdhc.c mmc: esdhc: Fix bug when writing to SDHCI_HOST_CONTROL register 2013-07-05 12:48:35 -04:00
sdhci-of-hlwd.c mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-pci-data.c mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-pci.c mmc: sdhci-pci: add another device id 2013-07-05 12:50:31 -04:00
sdhci-pltfm.c mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-pltfm.h mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-pxav2.c mmc: sdhci: Add size for caller in init+register 2013-05-31 11:59:29 -04:00
sdhci-pxav3.c sdhci-pxav3: Fix runtime PM initialization 2013-06-27 12:39:23 -04:00
sdhci-s3c-regs.h mmc: sdhci-s3c: remove platform dependencies 2013-04-19 13:51:23 +02:00
sdhci-s3c.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
sdhci-sirf.c mmc: sirf: fix sdhci_pltfm_init sequence 2013-06-27 11:17:25 -04:00
sdhci-spear.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
sdhci-tegra.c mmc: tegra: handle mmc_of_parse() errors during probe 2013-06-27 10:23:52 -04:00
sdhci.c mmc: sdhci: add card_event callback to sdhci 2013-07-05 12:59:12 -04:00
sdhci.h mmc: sdhci: add card_event callback to sdhci 2013-07-05 12:59:12 -04:00
sdricoh_cs.c drivers/mmc: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:04 -07:00
sh_mmcif.c mmc: sh_mmcif: handle mmc_of_parse() errors during probe 2013-06-27 10:22:50 -04:00
sh_mobile_sdhi.c mmc: host: use platform_{get,set}_drvdata() 2013-06-27 11:13:02 -04:00
tifm_sd.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
tmio_mmc_dma.c mmc: sdhi/tmio: add DT DMA support 2013-05-26 14:23:21 -04:00
tmio_mmc_pio.c mmc: tmio-mmc: handle mmc_of_parse() errors during probe 2013-06-27 10:22:57 -04:00
tmio_mmc.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00
tmio_mmc.h mmc: tmio: fix unbalanced power-on calls with clock-gating enabled 2013-06-06 11:48:04 -04:00
ushc.c USB: convert some miscellanies drivers to use module_usb_driver() 2011-11-18 09:52:10 -08:00
via-sdmmc.c mmc: remove use of __devexit 2012-11-28 12:28:18 -08:00
vub300.c mmc: vub300: add missing usb_put_dev 2012-12-06 13:55:03 -05:00
wbsd.c mmc: remove use of __devexit 2012-11-28 12:28:18 -08:00
wbsd.h
wmt-sdmmc.c mmc: remove unnecessary platform_set_drvdata() 2013-05-26 14:23:23 -04:00