diff options
| author | Ritesh Harjani <riteshh@codeaurora.org> | 2015-09-27 21:51:01 +0530 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-31 15:28:04 -0700 |
| commit | 84de99e1ded4e96ac36c2287b7d9e4b9cdd8dcc4 (patch) | |
| tree | 1f125de561e2f9a2a9283e52b17f10bb9bf7784c /include/linux | |
| parent | fc272f2bf29afe51979ca1c5d9cc72ae398db4b8 (diff) | |
mmc: core: Call cmdq_post_req with tag info instead of mrq
Call mmc_/cmdq_post_req with tag number instead of
mrq. This is needed in error handling as part of multiple
request error handling.
Change-Id: I175432639d28378ec74669e31deb4d1667c49bb8
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/core.h | 3 | ||||
| -rw-r--r-- | include/linux/mmc/host.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index 87332656e0fd..8b5197ba6759 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h @@ -136,8 +136,7 @@ struct mmc_cmdq_req; extern int mmc_cmdq_discard_queue(struct mmc_host *host, u32 tasks); extern int mmc_cmdq_halt(struct mmc_host *host, bool enable); extern int mmc_cmdq_halt_on_empty_queue(struct mmc_host *host); -extern void mmc_cmdq_post_req(struct mmc_host *host, struct mmc_request *mrq, - int err); +extern void mmc_cmdq_post_req(struct mmc_host *host, int tag, int err); extern int mmc_cmdq_start_req(struct mmc_host *host, struct mmc_cmdq_req *cmdq_req); extern int mmc_cmdq_prepare_flush(struct mmc_command *cmd); diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 4743f46bf9b3..b923a74add1d 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -95,8 +95,7 @@ struct mmc_cmdq_host_ops { int (*enable)(struct mmc_host *host); void (*disable)(struct mmc_host *host, bool soft); int (*request)(struct mmc_host *host, struct mmc_request *mrq); - void (*post_req)(struct mmc_host *host, struct mmc_request *mrq, - int err); + void (*post_req)(struct mmc_host *host, int tag, int err); int (*halt)(struct mmc_host *host, bool halt); void (*reset)(struct mmc_host *host, bool soft); void (*dumpstate)(struct mmc_host *host); |
