lkml.org 
[lkml]   [2008]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 0/3] Add API for weak DMA masks
    Date
    On Thursday, May 01, 2008 10:16 am Michael Buesch wrote:
    > Ok, will redo the patches with that added and the name changed.
    >
    > > Most drivers just do the fallback themselves, right?
    >
    > Right.
    >
    > > So it makes sense to
    > > just update the current code to fallback, and update drivers wanting
    > > specific mask values to check afterwards. I hate to inflict that kind of
    > > driver wide update on Michael though... :)
    >
    > Well, that's a lot of work and I'm not sure it's worth it.
    > I could live with having dma_set_mask as an API that fails on bad masks
    > and dma_request_mask as an API above that which retries. I think that's
    > just fine. Drivers can be migrated over time to the new API (or not. That
    > can be the driver maintainer's choice).

    Can you also update the docs with the new call, indicating that it should
    probably used in all but special cases?

    Thanks,
    Jesse


    \
     
     \ /
      Last update: 2008-05-01 19:25    [W:3.581 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site