lkml.org 
[lkml]   [2015]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH, RFC] MIPS: jz4740: use dma filter function
    On 01/06/2015 02:48 PM, Arnd Bergmann wrote:
    > On Tuesday 06 January 2015 11:45:58 Lars-Peter Clausen wrote:
    >> On 01/05/2015 11:39 PM, Arnd Bergmann wrote:
    >>> As discussed on the topic of shmobile DMA today, jz4740 is the only
    >>> user of the slave_id field in dma_slave_config besides shmobile. This
    >>> use is really incompatible with the way that other drivers use the
    >>> dmaengine API, so we should get rid of it.
    >>
    >> Do you have a link to that discussion?
    >
    > http://www.spinics.net/lists/linux-mmc/msg30069.html

    I'm really not comfortable with this patch, since it is a step back. But I
    guess the end justify the means. So if it helps to get rid of slave_id I'm
    ok with it, sooner or later jz4740 will be converted to DT so once that's
    done the filter function can be removed again. But please put the filter
    function in a non arch specific header so we can still compile test things.
    And maybe note in the commit message that this is meant as a temporary hack.

    - Lars


    \
     
     \ /
      Last update: 2015-01-07 15:41    [W:3.166 / U:0.408 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site