lkml.org 
[lkml]   [2017]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] mmc: sdhci: Add sdma_buffer_boundary_arg to sdhci_host
Date
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

\
 
 \ /
  Last update: 2017-08-02 10:39    [W:0.148 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site