mmc: rtsx: finish request if no card exist
authorMicky Ching <micky_ching@realsil.com.cn>
Wed, 14 Jan 2015 03:09:11 +0000 (11:09 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 21 Jan 2015 12:56:55 +0000 (13:56 +0100)
commitb22217f966f585b69c823e0f525ee044e13d7976
tree2e438853d20f99b6bd50ab307b62a05e4a090a63
parent3e7cf90213e789bdc13f2638cc9d8b9993d5491e
mmc: rtsx: finish request if no card exist

Return error-code directly if no card exist, this can
make card remove faster.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rtsx_pci_sdmmc.c