aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/mmc/host/mmci.c
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2020-01-28 10:06:28 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2020-03-24 14:35:40 +0100
commit127e6e98ca9b8ac4f87698ebce1508e3449bb791 (patch)
tree1f526eb2584b6f1925d9644f3fcf0401645b3bf9 /drivers/mmc/host/mmci.c
parentmmc: core: Fixup support for HW busy detection for HPI commands (diff)
downloadwireguard-linux-127e6e98ca9b8ac4f87698ebce1508e3449bb791.tar.xz
wireguard-linux-127e6e98ca9b8ac4f87698ebce1508e3449bb791.zip
mmc: mmci_sdmmc: Replace sg_dma_xxx macros
sg_dma_xxx should be used after a dma_map_sg call has been done to get bus addresses of each of the SG entries and their lengths. But mmci_host_ops validate_data can be called before dma_map_sg. This patch replaces theses macros by sg->offset and sg->length which are always defined. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Link: https://lore.kernel.org/r/20200128090636.13689-2-ludovic.barre@st.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mmci.c')
0 files changed, 0 insertions, 0 deletions