mmc: block: add req pointer to mmc request
This is needed by ICE (Inline Crypto Engine) driver to get the ICE configuration data from the request. Change-Id: Ie69c64f4dc0c31290dec50d905e8b3d436c86d62 Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
This commit is contained in:
parent
3006336d10
commit
71e326e078
2 changed files with 2 additions and 0 deletions
|
@ -1944,6 +1944,7 @@ static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
|
|||
}
|
||||
|
||||
mqrq->mmc_active.mrq = &brq->mrq;
|
||||
mqrq->mmc_active.mrq->req = mqrq->req;
|
||||
mqrq->mmc_active.err_check = mmc_blk_err_check;
|
||||
|
||||
mmc_queue_bounce_pre(mqrq);
|
||||
|
|
|
@ -108,6 +108,7 @@ struct mmc_request {
|
|||
struct completion completion;
|
||||
void (*done)(struct mmc_request *);/* completion function */
|
||||
struct mmc_host *host;
|
||||
struct request *req;
|
||||
};
|
||||
|
||||
struct mmc_card;
|
||||
|
|
Loading…
Add table
Reference in a new issue