Skip to content

mmc: factor out getting dma direction from host drivers

Heiner Kallweit linux-mmc 3 versions – Applied

Status from this message: Thanks, applied for next!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- fix a compile error in change to atmel driver

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2mmc: core: add mmc_get_dma_dirinclude/linux/mmc/host.h+6 -00 replies
2/2mmc: use new core function mmc_get_dma_dirdrivers/mmc/host/android-goldfish.c drivers/mmc/host/atmel-mci.c drivers/mmc/host/davinci_mmc.c +11 more+53 -1200 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchShawn Lin
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] mmc: factor out getting dma direction from host drivers

Several host drivers contain identical code for determining the DMA direction. Therefore factor this out to the core.

v2:
- use new function in more new places
v3:
- fix a compile error in change to atmel driver

Heiner Kallweit (2):
mmc: core: add mmc_get_dma_dir
mmc: use new core function mmc_get_dma_dir

 drivers/mmc/host/android-goldfish.c | 10 ++--------
 drivers/mmc/host/atmel-mci.c        | 30 +++++++++++-------------------
 drivers/mmc/host/davinci_mmc.c      | 14 ++++----------
 drivers/mmc/host/dw_mmc.c           | 14 +++-----------
 drivers/mmc/host/jz4740_mmc.c       |  9 ++-------
 drivers/mmc/host/mmc_spi.c          |  5 +----
 drivers/mmc/host/mmci.c             | 20 ++++++++------------
 drivers/mmc/host/moxart-mmc.c       |  8 +++-----
 drivers/mmc/host/mtk-sd.c           |  8 ++------
 drivers/mmc/host/mvsdio.c           | 11 +++++------
 drivers/mmc/host/omap_hsmmc.c       | 17 ++++-------------
 drivers/mmc/host/s3cmci.c           |  4 ++--
 drivers/mmc/host/sdhci.c            |  9 +++------
 drivers/mmc/host/sunxi-mmc.c        | 14 +++-----------
 include/linux/mmc/host.h            |  6 ++++++
 15 files changed, 59 insertions(+), 120 deletions(-)
Signature · 1 line
2.12.0