lkml.org 
[lkml]   [2012]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/5] mmc: bfin_sdh: limit mmc DMA segment len to 1 for bf518.
    Date
    From: Sonic Zhang <sonic.zhang@analog.com>

    bf518 RSI dma doesn't work in array mode.

    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    ---
    drivers/mmc/host/bfin_sdh.c | 4 ++++
    1 files changed, 4 insertions(+), 0 deletions(-)

    diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
    index 0366617..fd25b0c 100644
    --- a/drivers/mmc/host/bfin_sdh.c
    +++ b/drivers/mmc/host/bfin_sdh.c
    @@ -469,7 +469,11 @@ static int __devinit sdh_probe(struct platform_device *pdev)
    }

    mmc->ops = &sdh_ops;
    +#if defined(CONFIG_BF54x)
    mmc->max_segs = 32;
    +#elif defined(CONFIG_BF51x)
    + mmc->max_segs = 1;
    +#endif
    mmc->max_seg_size = 1 << 16;
    mmc->max_blk_size = 1 << 11;
    mmc->max_blk_count = 1 << 11;
    --
    1.7.0.4



    \
     
     \ /
      Last update: 2012-05-16 10:41    [W:0.110 / U:0.344 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site