diff options
author | Vignesh R <vigneshr@ti.com> | 2015-06-16 16:07:18 +0530 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-07-24 10:18:21 +0200 |
commit | 5027cd1e323d2f8136abb32ac7c8e1e1a94eac05 (patch) | |
tree | 87982e8a5d04643ccec1b9c2f051ae9441fffaf2 /fs/pipe.c | |
parent | 408806f740497c5d71f9c305b3d6aad260ff186d (diff) | |
download | op-kernel-dev-5027cd1e323d2f8136abb32ac7c8e1e1a94eac05.zip op-kernel-dev-5027cd1e323d2f8136abb32ac7c8e1e1a94eac05.tar.gz |
mmc: omap_hsmmc: Handle BADA, DEB and CEB interrupts
Sometimes BADA, DEB or CEB error interrupts occur when sd card is
unplugged during data transfer. These interrupts are currently ignored
by the interrupt handler. But, this results in card not being
recognised on subsequent insertion. This is because mmcqd is waiting
forever for the data transfer(for which error occurred) to complete.
Fix this, by reporting BADA, DEB, CEB errors to mmc-core as -EILSEQ, so
that the core can do appropriate handling.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Tested-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions