android_kernel_xiaomi_sm8350/drivers/mmc/host
Yauhen Kharuzhy 9942448837 s3cmci: Fix hangup in do_pio_write()
This commit fixes the regression what was added by commit
088a78af97 "s3cmci: Support transfers
which are not multiple of 32 bits."

fifo_free() now returns amount of available space in FIFO buffer in
bytes.  But do_pio_write() writes to FIFO 32-bit words.  Condition for
return from cycle is (fifo_free() == 0), but when fifo has 1..3 bytes
of free space then this condition will never be true and system hangs.

This patch changes condition in the while() to (fifo_free() > 3).

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2009-02-18 20:56:04 +01:00
..
at91_mci.c mmc: at91_mci: reorder timer setup and mmc_add_host() call 2008-11-30 23:52:44 +01:00
atmel-mci-regs.h
atmel-mci.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2009-01-09 11:52:14 -08:00
au1xmmc.c
imxmmc.c imxmmc: use readl/writel 2008-12-16 14:58:17 +01:00
imxmmc.h imxmmc: use readl/writel 2008-12-16 14:58:17 +01:00
Kconfig mmc: Add a MX2/MX3 specific SDHC driver 2009-02-02 20:57:05 +01:00
Makefile mmc: Add a MX2/MX3 specific SDHC driver 2009-02-02 20:57:05 +01:00
mmc_spi.c mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
mmci.c mmci: Add support for ST Micro derivate 2009-02-02 20:57:06 +01:00
mmci.h mmci: Add support for ST Micro derivate 2009-02-02 20:57:06 +01:00
mxcmmc.c mmc: Add a MX2/MX3 specific SDHC driver 2009-02-02 20:57:05 +01:00
of_mmc_spi.c mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
omap_hsmmc.c [ARM] 5369/1: omap mmc: Add new omap hsmmc controller for 2430 and 34xx, v3 2009-01-24 11:41:21 +00:00
omap.c omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
pxamci.c pxamci: enable DMA for write ops after CMD/RESP 2009-02-02 20:57:07 +01:00
pxamci.h
ricoh_mmc.c ricoh_mmc: Use suspend_late/resume_early 2009-02-02 20:57:06 +01:00
s3cmci.c s3cmci: Fix hangup in do_pio_write() 2009-02-18 20:56:04 +01:00
s3cmci.h s3cmci: Support transfers which are not multiple of 32 bits. 2008-10-15 18:05:14 +02:00
sdhci-pci.c Revert "sdhci: force high speed capability on some controllers" 2009-02-18 06:36:22 +01:00
sdhci.c Revert "sdhci: force high speed capability on some controllers" 2009-02-18 06:36:22 +01:00
sdhci.h Revert "sdhci: force high speed capability on some controllers" 2009-02-18 06:36:22 +01:00
sdricoh_cs.c Merge branch 'master' of ../mmc 2008-12-31 19:56:05 +01:00
tifm_sd.c mmc: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-08 21:37:46 +01:00
tmio_mmc.c drivers/mmc: Move a dereference below a NULL test 2008-12-31 18:18:14 +01:00
tmio_mmc.h
wbsd.c
wbsd.h