lkml.org 
[lkml]   [2019]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [alsa-devel] [PATCH 18/18] ALSA: pass struct device to DMA API functions
    On Fri, 01 Feb 2019 09:48:01 +0100,
    Christoph Hellwig wrote:
    >
    > The DMA API generally relies on a struct device to work properly, and
    > only barely works without one for legacy reasons. Pass the easily
    > available struct device from the platform_device to remedy this.
    >
    > Also use GFP_KERNEL instead of GFP_USER as the gfp_t for the memory
    > allocation, as we should treat this allocation as a normal kernel one.
    >
    > Signed-off-by: Christoph Hellwig <hch@lst.de>

    Reviewed-by: Takashi Iwai <tiwai@suse.de>


    thanks,

    Takashi

    \
     
     \ /
      Last update: 2019-02-01 14:13    [W:2.220 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site