On 15 January 2014 15:13, zhangfei <zhangfei.gao@xxxxxxxxxx> wrote: > > > On 01/15/2014 05:39 PM, Sachin Kamat wrote: >>> >>> Thanks for the patch >>> I just submitted one patch to fix the issue, in case you missed it. >> >> >> Yes I did as I am not subscribed to mmc list. >> >>> Also spin_lock is required for atomic accessing DW_MMC_CARD_PRESENT. >>> Otherwise sd detect may be failed sometimes. >>> >>> Could you help take a look. >> >> >> I looked at and tested your patch [1] (which is similar to mine except >> for the locking part). >> >> Since I do not have your patch in my mailbox, FWIW, >> >> Reviewed-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> >> Tested-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > > > Thanks Sachin, that's great it works, all my mistake. > Then I resumit the patch with this and cc you. If you are planning to re-submit, then you may please consider revising the commit message as follows: s/Introdeced/Introduced Please provide patch title after the commit Id in braces ("<patch title>"). s/ingored/ignored You may also elaborate on why IS_ERR_VALUE(!mmc_gpio_get_cd(mmc)) does not work. -- With warm regards, Sachin -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html