File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2278,7 +2278,7 @@ void mmc_blk_mq_recovery(struct mmc_queue *mq)
2278
2278
static void mmc_blk_mq_complete_prev_req (struct mmc_queue * mq ,
2279
2279
struct request * * prev_req )
2280
2280
{
2281
- if (mmc_host_done_complete (mq -> card -> host ))
2281
+ if (mmc_host_can_done_complete (mq -> card -> host ))
2282
2282
return ;
2283
2283
2284
2284
mutex_lock (& mq -> complete_lock );
@@ -2317,7 +2317,7 @@ static void mmc_blk_mq_req_done(struct mmc_request *mrq)
2317
2317
struct mmc_host * host = mq -> card -> host ;
2318
2318
unsigned long flags ;
2319
2319
2320
- if (!mmc_host_done_complete (host )) {
2320
+ if (!mmc_host_can_done_complete (host )) {
2321
2321
bool waiting ;
2322
2322
2323
2323
/*
@@ -2430,7 +2430,7 @@ static int mmc_blk_mq_issue_rw_rq(struct mmc_queue *mq,
2430
2430
mq -> rw_wait = false;
2431
2431
2432
2432
/* Release re-tuning here where there is no synchronization required */
2433
- if (err || mmc_host_done_complete (host ))
2433
+ if (err || mmc_host_can_done_complete (host ))
2434
2434
mmc_retune_release (host );
2435
2435
2436
2436
out_post_req :
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static inline int mmc_host_can_cmd23(struct mmc_host *host)
44
44
return host -> caps & MMC_CAP_CMD23 ;
45
45
}
46
46
47
- static inline bool mmc_host_done_complete (struct mmc_host * host )
47
+ static inline bool mmc_host_can_done_complete (struct mmc_host * host )
48
48
{
49
49
return host -> caps & MMC_CAP_DONE_COMPLETE ;
50
50
}
You can’t perform that action at this time.
0 commit comments