From: Heiner Kallweit <hkallweit1@gmail.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: [PATCH v3 0/2] mmc: factor out getting dma direction from host drivers
Date: Sun, 26 Mar 2017 20:39:46 +0200 [thread overview]
Message-ID: <d3d01681-9456-0800-733f-369f6d3a26be@gmail.com> (raw)
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(-)
--
2.12.0
next reply other threads:[~2017-03-26 18:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-26 18:39 Heiner Kallweit [this message]
2017-03-26 18:41 ` [PATCH v3 1/2] mmc: core: add mmc_get_dma_dir Heiner Kallweit
2017-03-26 18:45 ` [PATCH v3 2/2] mmc: use new core function mmc_get_dma_dir Heiner Kallweit
2017-03-27 8:22 ` [PATCH v3 0/2] mmc: factor out getting dma direction from host drivers Ulf Hansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3d01681-9456-0800-733f-369f6d3a26be@gmail.com \
--to=hkallweit1@gmail.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox