Loading drivers/mmc/core/core.c +3 −2 Original line number Diff line number Diff line Loading @@ -1805,12 +1805,13 @@ int mmc_try_claim_host(struct mmc_host *host, unsigned int delay_ms) unsigned long flags; int retry_cnt = delay_ms/10; bool pm = false; struct task_struct *task = current; do { spin_lock_irqsave(&host->lock, flags); if (!host->claimed || host->claimer->task == current) { if (!host->claimed || mmc_ctx_matches(host, NULL, task)) { host->claimed = 1; host->claimer->task = current; mmc_ctx_set_claimer(host, NULL, task); host->claim_cnt += 1; claimed_host = 1; if (host->claim_cnt == 1) Loading drivers/mmc/core/sd.c +0 −2 Original line number Diff line number Diff line Loading @@ -1197,8 +1197,6 @@ static void mmc_sd_detect(struct mmc_host *host) return; } mmc_get_card(host->card, NULL); /* * Just check if our card has been removed. */ Loading Loading
drivers/mmc/core/core.c +3 −2 Original line number Diff line number Diff line Loading @@ -1805,12 +1805,13 @@ int mmc_try_claim_host(struct mmc_host *host, unsigned int delay_ms) unsigned long flags; int retry_cnt = delay_ms/10; bool pm = false; struct task_struct *task = current; do { spin_lock_irqsave(&host->lock, flags); if (!host->claimed || host->claimer->task == current) { if (!host->claimed || mmc_ctx_matches(host, NULL, task)) { host->claimed = 1; host->claimer->task = current; mmc_ctx_set_claimer(host, NULL, task); host->claim_cnt += 1; claimed_host = 1; if (host->claim_cnt == 1) Loading
drivers/mmc/core/sd.c +0 −2 Original line number Diff line number Diff line Loading @@ -1197,8 +1197,6 @@ static void mmc_sd_detect(struct mmc_host *host) return; } mmc_get_card(host->card, NULL); /* * Just check if our card has been removed. */ Loading