dsp: update MSM Audio ION wrappers to align with upstream
Between Linux-4.9 and Linux-4.14, upstream has updated the ION APIs significantly to make ION ready to bring out of staging folder. This has changed the way ION and dma_buf APIs used to work together for allocating, mapping and deallocating ION buffers. Update MSM Audio ION wrapper functions used by audio drivers to reflect these ION API changes as per upstream ION. Change-Id: I63097e147a397aa3a538f69ac88b6fb10871c3dc Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Šī revīzija ir iekļauta:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2013-2015, 2017, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011, 2013-2015, 2017-2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -38,8 +38,7 @@ enum {
|
||||
struct rtac_cal_mem_map_data {
|
||||
uint32_t map_size;
|
||||
uint32_t map_handle;
|
||||
struct ion_client *ion_client;
|
||||
struct ion_handle *ion_handle;
|
||||
struct dma_buf *dma_buf;
|
||||
};
|
||||
|
||||
struct rtac_cal_data {
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user