Re: [PATCH v2 2/2] mmc: dw_mmc: check card present before starting request

2016-05-29 Thread Jaehoon Chung
Hi Shawn, On 05/27/2016 03:37 PM, Shawn Lin wrote: > The main reason to add this check is to avoid unnecessary > mmc_request like the on-going cmd and the corresponding sbc > if the card is removed. Although we have already checked this in > dw_mci_handle_cd for runtime usage of sd card and dw_mci

[PATCH v2 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Shawn Lin
The main reason to add this check is to avoid unnecessary mmc_request like the on-going cmd and the corresponding sbc if the card is removed. Although we have already checked this in dw_mci_handle_cd for runtime usage of sd card and dw_mci_init_slot for noremovable devices, but there is a timing ga