lkml.org 
[lkml]   [2012]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[ 10/85] ARM: S3C24XX: Fix s3c2410_dma_enqueue parameters
    Date
    From: Greg KH <gregkh@linuxfoundation.org>

    3.4-stable review patch. If anyone has any objections, please let me know.

    ------------------

    From: Heiko Stuebner <heiko@sntech.de>

    commit b01858c7806e7e6f6121da2e51c9222fc4d21dc6 upstream.

    Commit d670ac019f60 (ARM: SAMSUNG: DMA Cleanup as per sparse) changed the
    prototype of the s3c2410_dma_* functions to use the enum dma_ch instead
    of an generic unsigned int.

    In the s3c24xx dma.c s3c2410_dma_enqueue seems to have been forgotten,
    the other functions there were changed correctly.

    Signed-off-by: Heiko Stuebner <heiko@sntech.de>
    Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/arm/plat-s3c24xx/dma.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/arm/plat-s3c24xx/dma.c
    +++ b/arch/arm/plat-s3c24xx/dma.c
    @@ -430,7 +430,7 @@ s3c2410_dma_canload(struct s3c2410_dma_c
    * when necessary.
    */

    -int s3c2410_dma_enqueue(unsigned int channel, void *id,
    +int s3c2410_dma_enqueue(enum dma_ch channel, void *id,
    dma_addr_t data, int size)
    {
    struct s3c2410_dma_chan *chan = s3c_dma_lookup_channel(channel);



    \
     
     \ /
      Last update: 2012-09-13 02:41    [W:2.734 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site