lkml.org 
[lkml]   [2008]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch v2 04/16] MMC: DMA free fix for S3C24XX SD/MMC driver
    From: Harald Welte <laforge@openmoko.org>

    Bugfix to ensure DMA channel allocated is freed on exit.

    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

    Index: linux-2.6.26-rc5-q2/drivers/mmc/host/s3cmci.c
    ===================================================================
    --- linux-2.6.26-rc5-q2.orig/drivers/mmc/host/s3cmci.c 2008-06-16 15:24:51.000000000 +0100
    +++ linux-2.6.26-rc5-q2/drivers/mmc/host/s3cmci.c 2008-06-16 15:24:52.000000000 +0100
    @@ -1245,6 +1245,7 @@ static int s3cmci_remove(struct platform
    clk_put(host->clk);

    tasklet_disable(&host->pio_tasklet);
    + s3c2410_dma_free(S3CMCI_DMA, &s3cmci_dma_client);

    free_irq(host->irq_cd, host);
    free_irq(host->irq, host);
    --
    Ben (ben@fluff.org, http://www.fluff.org/)

    'a smiley only costs 4 bytes'


    \
     
     \ /
      Last update: 2008-06-16 16:39    [W:0.042 / U:0.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site