mmc: core: rk_sdmmc: fix NULL pointer cause by edma complete
authorlintao <lintao@rock-chips.com>
Fri, 27 Jun 2014 06:56:34 +0000 (14:56 +0800)
committerlintao <lintao@rock-chips.com>
Fri, 27 Jun 2014 06:56:34 +0000 (14:56 +0800)
commite4d224046375c67226e35cc29dadb6d402a7aa9c
treed06e52f589518dae4aaffea373c06f8db856fd7f
parent70dbd2ae6b793335c584bbac807e19d37d8099ab
mmc: core: rk_sdmmc: fix NULL pointer cause by edma complete
If card been removed after sending read cmd to it, and before its
response data sent to host, data null pointer occur.
drivers/mmc/host/rk_sdmmc.c