lkml.org 
[lkml]   [2018]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v2 1/2] dma-mapping: move dma configuration to bus infrastructure
    Date


    > -----Original Message-----
    > From: Bharat Bhushan
    > Sent: Wednesday, March 21, 2018 12:49

    > >
    > > +int dma_configure(struct device *dev)
    > > +{
    > > + if (dev->bus->dma_configure)
    > > + return dev->bus->dma_configure(dev);
    >
    > What if dma_common_configure() is called in case "bus->dma_configure" is
    > not defined?
    >
    > Thanks
    > -Bharat

    I think it is cleaner for bus to call '/dma_common_configure/' rather
    than this been called implicitly, but Robin/Christoph can comment
    better on this.

    Thanks,
    Nipun

    \
     
     \ /
      Last update: 2018-03-21 08:30    [W:3.019 / U:0.960 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site