linux/drivers/mmc/core
NeilBrown 6b7a783ebd mmc: pwrseq_simple: fix error path in mmc_pwrseq_simple_alloc
The current error-path code (when gpiod_get_index() reports
an error) can never free pwrseq->reset_gpios[0], but might
try to tree pwrseq->reset_gpios[-1], which has unfortunate
consequences.

Signed-off-by: NeilBrown <neil@brown.name>
Fixes: 934f1f4833
Acked-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reported-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
2015-03-19 11:26:35 +01:00
..
bus.c mmc: Add SDIO function devicetree subnode parsing 2015-01-19 09:56:26 +01:00
bus.h
core.c mmc: core: Invoke mmc_pwrseq_post_power_on() prior MMC_POWER_ON state 2015-02-03 20:56:58 +01:00
core.h mmc: core: Simplify by adding mmc_execute_tuning() 2015-01-19 09:56:30 +01:00
debugfs.c
host.c mmc: core: Initial support for MMC power sequences 2015-01-28 12:31:12 +01:00
host.h
Kconfig
Makefile mmc: pwrseq: add driver for emmc hardware reset 2015-02-04 09:45:09 +01:00
mmc.c mmc: Resolve BKOPS compatability issue 2015-01-29 11:15:12 +01:00
mmc_ops.c mmc: core: Make tuning block patterns static 2015-01-19 09:56:24 +01:00
mmc_ops.h
pwrseq.c mmc: pwrseq: add driver for emmc hardware reset 2015-02-04 09:45:09 +01:00
pwrseq.h mmc: pwrseq: add driver for emmc hardware reset 2015-02-04 09:45:09 +01:00
pwrseq_emmc.c mmc: pwrseq: add driver for emmc hardware reset 2015-02-04 09:45:09 +01:00
pwrseq_simple.c mmc: pwrseq_simple: fix error path in mmc_pwrseq_simple_alloc 2015-03-19 11:26:35 +01:00
quirks.c
sd.c mmc: core: Simplify by adding mmc_execute_tuning() 2015-01-19 09:56:30 +01:00
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: core: Simplify by adding mmc_execute_tuning() 2015-01-19 09:56:30 +01:00
sdio_bus.c mmc: Add SDIO function devicetree subnode parsing 2015-01-19 09:56:26 +01:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
slot-gpio.c mmc: slot-gpio: Allow host driver to provide isr for card-detect interrupts 2015-01-19 09:56:29 +01:00
slot-gpio.h mmc: slot-gpio: Make mmc_gpio_alloc() available for MMC core 2015-01-19 09:56:17 +01:00