mmc: block: Prepare CQE data
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 22 Sep 2017 12:36:56 +0000 (15:36 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:45:52 +0000 (11:45 +0100)
commit93482b3d70c2120aadb0f1d1281a59199866e70a
tree7ffb4b0dfa3163b1999413944c46ec65bca6f3ca
parentd3377c012f4d7a0a822e289f1effba997da3e295
mmc: block: Prepare CQE data

Enhance mmc_blk_data_prep() to support CQE requests. That means adding
some things that for non-CQE requests would be encoded into the command
arguments - such as the block address, reliable-write flag, and data tag
flag. Also the request tag is needed to provide the command queue task id,
and a comment is added to explain the future possibility of defining a
priority.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c