aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card/queue.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2016-11-29 12:09:09 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-12-05 10:31:03 +0100
commit5be80375f5a030e5f5beba76620380da5ea6cefa (patch)
treeeaf9dbc88bc1970413b8eb16ed92b502b52cd01f /drivers/mmc/card/queue.c
parentmmc: block: Restore line inadvertently removed with packed commands (diff)
downloadlinux-dev-5be80375f5a030e5f5beba76620380da5ea6cefa.tar.xz
linux-dev-5be80375f5a030e5f5beba76620380da5ea6cefa.zip
mmc: block: Fix 4K native sector check
The 4K native sector check does not allow for the 'do' loop nor the variables used after the 'cmd_abort' label. 'brq' and 'req' get reassigned in the 'do' loop, so the check must not assume what their values are. After the 'cmd_abort' label, 'mq_rq' and 'req' are used, but 'rqc' must be NULL otherwise it can be started again. 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>
Diffstat (limited to 'drivers/mmc/card/queue.c')
0 files changed, 0 insertions, 0 deletions