lkml.org 
[lkml]   [2011]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/10] carma: move to dma_transfer_direction
    Date
    From: Vinod Koul <vinod.koul@linux.intel.com>

    Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
    CC Ira W. Snyder <iws@ovro.caltech.edu>
    ---
    drivers/misc/carma/carma-fpga-program.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c
    index 7ce6065..c13e578 100644
    --- a/drivers/misc/carma/carma-fpga-program.c
    +++ b/drivers/misc/carma/carma-fpga-program.c
    @@ -513,7 +513,7 @@ static noinline int fpga_program_dma(struct fpga_dev *priv)
    * transaction, and then put it under external control
    */
    memset(&config, 0, sizeof(config));
    - config.direction = DMA_TO_DEVICE;
    + config.direction = MEM_TO_DEV;
    config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
    config.dst_maxburst = fpga_fifo_size(priv->regs) / 2 / 4;
    ret = chan->device->device_control(chan, DMA_SLAVE_CONFIG,
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2011-10-14 07:49    [W:2.937 / U:1.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site