summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mmc/core
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mmc/core')
-rw-r--r--kernel/drivers/mmc/core/core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/drivers/mmc/core/core.c b/kernel/drivers/mmc/core/core.c
index 92e767142..588fb7908 100644
--- a/kernel/drivers/mmc/core/core.c
+++ b/kernel/drivers/mmc/core/core.c
@@ -330,8 +330,10 @@ EXPORT_SYMBOL(mmc_start_bkops);
*/
static void mmc_wait_data_done(struct mmc_request *mrq)
{
- mrq->host->context_info.is_done_rcv = true;
- wake_up_interruptible(&mrq->host->context_info.wait);
+ struct mmc_context_info *context_info = &mrq->host->context_info;
+
+ context_info->is_done_rcv = true;
+ wake_up_interruptible(&context_info->wait);
}
static void mmc_wait_done(struct mmc_request *mrq)