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)
22782278static void mmc_blk_mq_complete_prev_req (struct mmc_queue * mq ,
22792279 struct request * * prev_req )
22802280{
2281- if (mmc_host_done_complete (mq -> card -> host ))
2281+ if (mmc_host_can_done_complete (mq -> card -> host ))
22822282 return ;
22832283
22842284 mutex_lock (& mq -> complete_lock );
@@ -2317,7 +2317,7 @@ static void mmc_blk_mq_req_done(struct mmc_request *mrq)
23172317 struct mmc_host * host = mq -> card -> host ;
23182318 unsigned long flags ;
23192319
2320- if (!mmc_host_done_complete (host )) {
2320+ if (!mmc_host_can_done_complete (host )) {
23212321 bool waiting ;
23222322
23232323 /*
@@ -2430,7 +2430,7 @@ static int mmc_blk_mq_issue_rw_rq(struct mmc_queue *mq,
24302430 mq -> rw_wait = false;
24312431
24322432 /* 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 ))
24342434 mmc_retune_release (host );
24352435
24362436out_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)
4444 return host -> caps & MMC_CAP_CMD23 ;
4545}
4646
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 )
4848{
4949 return host -> caps & MMC_CAP_DONE_COMPLETE ;
5050}
You can’t perform that action at this time.
0 commit comments