diff options
author | Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> | 2010-11-25 15:38:02 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 16:07:35 +0200 |
commit | 218b21b2d99be8a7559fa221176a68750afffc07 (patch) | |
tree | f8bac7062b0622014c261e355e713f0f8c73f1a3 /drivers/char/mwave/mwavedd.h | |
parent | d1932c84b4475b46dc6bcb1f8b43bc4c9d84a931 (diff) |
MMCI: Fix incorrect handling of HW FC for SDIO
For SDIO writes smaller than or equal to 8 bytes (only SDIO case),
hardware flow control was turned off, but was never turned on again
which meant that if a large read request followed, SDIO would randomly
give buffer overrun errors since there was no flow control.
Since HW flow control is not really needed for anything that fits in the
HW FIFO of PL18X, HW flow control is now disabled for any write
operation that is smaller than or equal to the FIFO size.
ST-Ericsson ID: ER280840
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9c47315dbc4b45011d89b1e58605056ba5441db1
Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9447
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10931
Reviewed-by: QATOOLS
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30928
Diffstat (limited to 'drivers/char/mwave/mwavedd.h')
0 files changed, 0 insertions, 0 deletions