lkml.org 
[lkml]   [2011]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/5] dmaengine i.MX SDMA: do not initialize chan_id field
    Date
    This is bogus as the dmaengine core will overwrite this field.

    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
    ---
    drivers/dma/imx-sdma.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
    index 8707723..3e848ee 100644
    --- a/drivers/dma/imx-sdma.c
    +++ b/drivers/dma/imx-sdma.c
    @@ -1307,7 +1307,6 @@ static int __init sdma_probe(struct platform_device *pdev)
    dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);

    sdmac->chan.device = &sdma->dma_device;
    - sdmac->chan.chan_id = i;
    sdmac->channel = i;

    /* Add the channel to the DMAC list */
    --
    1.7.2.3


    \
     
     \ /
      Last update: 2011-01-31 13:03    [W:0.020 / U:30.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site