diff options
author | Yuan, Juntao <juntao.yuan@intel.com> | 2016-05-13 07:59:24 +0000 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-07-25 10:34:03 +0200 |
commit | e87c85617d54ec2757fae56e3bde159610a0bff6 (patch) | |
tree | 347c418bc9872d6739bbb067569a38483cfb0747 /lib/test-string_helpers.c | |
parent | 1473bdd50dce1c0abf465bd13954d602ebdfbbc7 (diff) |
mmc: block: correct 4KB alignment check
In sectors alignment check, brq->data.blocks means sectors of the
previous mqrq since data.blocks for mqrq_cur hasn't been updated yet.
data.blocks will be updated later in mmc_blk_packed_hdr_wrq_prep or
mmc_blk_rw_rq_prep.
static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, ......
......
struct mmc_blk_request *brq = &mq->mqrq_cur->brq;
Signed-off-by: Yuan Juntao <juntao.yuan@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions