diff options
| author | 2024-10-06 08:11:42 +0300 | |
|---|---|---|
| committer | 2024-10-14 12:29:01 +0200 | |
| commit | 403a0293f1c230524e0185b31f69c02a6aed12c7 (patch) | |
| tree | 4301e3ce4c6b7a55eafd7eb092198886b92a6d21 /drivers/mmc/core/core.c | |
| parent | mmc: core: Don't use close-ended rw for SDUC (diff) | |
| download | wireguard-linux-403a0293f1c230524e0185b31f69c02a6aed12c7.tar.xz wireguard-linux-403a0293f1c230524e0185b31f69c02a6aed12c7.zip | |
mmc: core: Add open-ended Ext memory addressing
For open-ended read/write - just send CMD22 before issuing the command.
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20241006051148.160278-5-avri.altman@wdc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/core.c')
| -rw-r--r-- | drivers/mmc/core/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index d6c819dd68ed..a0b2999684b3 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -336,6 +336,9 @@ int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) { int err; + if (mrq->cmd && mrq->cmd->has_ext_addr) + mmc_send_ext_addr(host, mrq->cmd->ext_addr); + init_completion(&mrq->cmd_completion); mmc_retune_hold(host); |
