mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mmc: sdhci: Add sdma_buffer_boundary_arg to sdhci_host
@ 2017-08-02  8:38 srinivas.kandagatla
  2017-08-02  8:38 ` [PATCH v2 1/2] mmc: sdhci: add sdma_buffer_boundary_arg member " srinivas.kandagatla
  2017-08-02  8:38 ` [PATCH v2 2/2] mmc: sdhci-msm: set sdma_buffer_boundary_arg to zero srinivas.kandagatla
  0 siblings, 2 replies; 5+ messages in thread
From: srinivas.kandagatla @ 2017-08-02  8:38 UTC (permalink / raw)
  To: adrian.hunter, ulf.hansson
  Cc: linux-mmc, linux-kernel, linux-arm-msm, Srinivas Kandagatla

From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

This patchset adds fix to support sdhci controller which have issues
when sdma boundary buffer bits are programmed in Block Size Register (0x04)
when using ADMA.

First patch adds member to struct sdhci_host to allow drivers to
specify sdma_buffer_boundary value that it can support and second
one sets sdma_buffer_boundary_arg to zero in msm sdhci driver.

Tested on DB410c with WLAN SDIO card.

thanks,
srini

Changes since RFC(https://lkml.org/lkml/2017/6/28/321)
	- Removed Quirk and added member to sdhci_host as suggested by Adrian

Srinivas Kandagatla (2):
  mmc: sdhci: add sdma_buffer_boundary_arg member to sdhci_host
  mmc: sdhci-msm: set sdma_buffer_boundary_arg to zero

 drivers/mmc/host/sdhci-msm.c |  1 +
 drivers/mmc/host/sdhci.c     | 14 ++++++++++----
 drivers/mmc/host/sdhci.h     |  3 +++
 3 files changed, 14 insertions(+), 4 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-08-03 11:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02  8:38 [PATCH v2 0/2] mmc: sdhci: Add sdma_buffer_boundary_arg to sdhci_host srinivas.kandagatla
2017-08-02  8:38 ` [PATCH v2 1/2] mmc: sdhci: add sdma_buffer_boundary_arg member " srinivas.kandagatla
2017-08-03 11:39   ` Adrian Hunter
2017-08-03 11:50     ` Srinivas Kandagatla
2017-08-02  8:38 ` [PATCH v2 2/2] mmc: sdhci-msm: set sdma_buffer_boundary_arg to zero srinivas.kandagatla

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

all inboxes | Powered by JetHome®