public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mmc: factor out getting dma direction from host drivers
@ 2017-03-24 20:01 Heiner Kallweit
  2017-03-24 20:02 ` [PATCH v2 1/2] mmc: core: add mmc_get_dma_dir Heiner Kallweit
  2017-03-24 20:07 ` [PATCH v2 2/2] mmc: use new core function mmc_get_dma_dir Heiner Kallweit
  0 siblings, 2 replies; 5+ messages in thread
From: Heiner Kallweit @ 2017-03-24 20:01 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: linux-mmc@vger.kernel.org

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

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        | 25 +++++++++----------------
 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, 57 insertions(+), 117 deletions(-)

-- 
2.12.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-26 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-24 20:01 [PATCH v2 0/2] mmc: factor out getting dma direction from host drivers Heiner Kallweit
2017-03-24 20:02 ` [PATCH v2 1/2] mmc: core: add mmc_get_dma_dir Heiner Kallweit
2017-03-24 20:07 ` [PATCH v2 2/2] mmc: use new core function mmc_get_dma_dir Heiner Kallweit
2017-03-26 15:37   ` kbuild test robot
2017-03-26 18:37     ` Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox