]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mmc: block: Change mmc_apply_rel_rw() to get block address from the request
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 13 Mar 2017 12:36:40 +0000 (14:36 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:04 +0000 (21:42 +0200)
commit9cb38f7a2d0aab5730ac18117ab2f5c9e3d4a826
tree96d04e01025aa076e5f510d40d7f2f89b70bf311
parent025e3d5fe157e8a12ed4ab59d0e147046c87cbd9
mmc: block: Change mmc_apply_rel_rw() to get block address from the request

mmc_apply_rel_rw() will be used by Software Command Queuing also. In that
case the command argument is not the block address so change
mmc_apply_rel_rw() to get block address from the request.

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