mmc: block: Add single read for 4k sector cards
authorChristian Loehle <CLoehle@hyperstone.com>
Fri, 1 Jul 2022 12:43:09 +0000 (12:43 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Jul 2022 11:10:50 +0000 (13:10 +0200)
commitb3fa3e6dccc465969721b8bd2824213bd235efeb
tree23a6fbab77de808d04fa079d987a6cb40e3c5973
parent3a44fb9f61d4315806d46dd3d107be15f6860052
mmc: block: Add single read for 4k sector cards

Cards with 4k native sector size may only be read 4k-aligned,
accommodate for this in the single read recovery and use it.

Fixes: 81196976ed946 (mmc: block: Add blk-mq support)
Signed-off-by: Christian Loehle <cloehle@hyperstone.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/cf4f316274c5474586d0d99b17db4a4c@hyperstone.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c